From: Jeff Law Date: Thu, 11 Jul 1996 18:24:59 +0000 (+0000) Subject: * h8300-dis.c (bfd_h8_disassemble): We don't have a match X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81fc72a71afcfb73878803f5f27402c0f96155a5;p=binutils-gdb.git * 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. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 27dc16d6200..e1cdd6c7f28 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,4 +1,7 @@ Thu Jul 11 11:58:44 1996 Jeffrey A Law (law@cygnus.com) + + * h8300-dis.c (bfd_h8_disassemble): We don't have a match + if we're looking for KBIT and we don't find it. * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits for L_3 and L_2. diff --git a/opcodes/h8300-dis.c b/opcodes/h8300-dis.c index 959cb754f53..975aba114d4 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)