OSDN Git Service

2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl@lucon.org>
Fri, 27 Mar 2009 00:28:32 +0000 (00:28 +0000)
committerH.J. Lu <hjl@lucon.org>
Fri, 27 Mar 2009 00:28:32 +0000 (00:28 +0000)
* i386-dis.c (get_valid_dis386): Abort on unhandled table.

opcodes/ChangeLog
opcodes/i386-dis.c

index 15ea391..fb917ce 100644 (file)
@@ -1,3 +1,7 @@
+2009-03-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (get_valid_dis386): Abort on unhandled table.
+
 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
 
        * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
index 2e44ed0..9e980e7 100644 (file)
@@ -10044,8 +10044,7 @@ get_valid_dis386 (const struct dis386 *dp, disassemble_info *info)
       break;
 
     default:
-      oappend (INTERNAL_DISASSEMBLER_ERROR);
-      return NULL;
+      abort ();
     }
 
   if (dp->name != NULL)