* h8300-dis.c (bfd_h8_disassemble): We don't have a match
authorJeff Law <law@redhat.com>
Thu, 11 Jul 1996 18:24:59 +0000 (18:24 +0000)
committerJeff Law <law@redhat.com>
Thu, 11 Jul 1996 18:24:59 +0000 (18:24 +0000)
        if we're looking for KBIT and we don't find it.
So we don't disassemble "inc" instructions as "adds" instructions.

opcodes/ChangeLog
opcodes/h8300-dis.c

index 27dc16d..e1cdd6c 100644 (file)
@@ -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.
index 959cb75..975aba1 100644 (file)
@@ -234,6 +234,8 @@ bfd_h8_disassemble (addr, info, mode)
                    case 0:
                      abs = 1;
                      break;
+                   default:
+                     goto fail;
                    }
                }
              else if (looking_for & L_8)