Enhance the RX disassembler to detect and report bad instructions.
authorNick Clifton <nickc@redhat.com>
Tue, 22 Sep 2015 16:21:13 +0000 (17:21 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 22 Sep 2015 16:21:13 +0000 (17:21 +0100)
commitf04265eceb78a33e452faa8727562e96af374f39
treef134c9c11d36097681f843e41c465c2ee8136d24
parentbc1f8cdaf4b26d1c7af34c7a33038c50fd5eabd4
Enhance the RX disassembler to detect and report bad instructions.

opcode * rx.h (enum RX_Size): Add RX_Bad_Size entry.

opcodes * rx-decode.opc (bwl): Use RX_Bad_Size.
(sbwl): Likewise.
(ubwl): Likewise.  Rename to ubw.
(uBWL): Rename to uBW.
Replace all references to uBWL with uBW.
* rx-decode.c: Regenerate.
* rx-dis.c (size_names): Add entry for RX_Bad_Size.
(opsize_names): Likewise.
(print_insn_rx): Detect and report RX_Bad_Size.
include/opcode/ChangeLog
include/opcode/rx.h
opcodes/ChangeLog
opcodes/rx-decode.c
opcodes/rx-decode.opc
opcodes/rx-dis.c