diff options
author | Jeff Law <law@redhat.com> | 1996-07-11 18:24:59 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-07-11 18:24:59 +0000 |
commit | 81fc72a71afcfb73878803f5f27402c0f96155a5 (patch) | |
tree | 863c0d0318ff256b0482dc22e99fec90f4e960ee /opcodes/h8300-dis.c | |
parent | 2757047686290214cff2cf30207e986d6b4f0722 (diff) | |
download | gdb-81fc72a71afcfb73878803f5f27402c0f96155a5.zip gdb-81fc72a71afcfb73878803f5f27402c0f96155a5.tar.gz gdb-81fc72a71afcfb73878803f5f27402c0f96155a5.tar.bz2 |
* h8300-dis.c (bfd_h8_disassemble): We don't have a match
if we're looking for KBIT and we don't find it.
So we don't disassemble "inc" instructions as "adds" instructions.
Diffstat (limited to 'opcodes/h8300-dis.c')
-rw-r--r-- | opcodes/h8300-dis.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/opcodes/h8300-dis.c b/opcodes/h8300-dis.c index 959cb75..975aba1 100644 --- a/opcodes/h8300-dis.c +++ b/opcodes/h8300-dis.c @@ -234,6 +234,8 @@ bfd_h8_disassemble (addr, info, mode) case 0: abs = 1; break; + default: + goto fail; } } else if (looking_for & L_8) |