aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-03-27 00:28:32 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-03-27 00:28:32 +0000
commitd34b50065a9298eabeaf74f2729faa66a865cccc (patch)
tree1c5131610ab46c5f323f88efcd58a7379bd6d961 /opcodes
parent5cff901f31614a5dc5cae48d51f5919911f0b0de (diff)
downloadgdb-d34b50065a9298eabeaf74f2729faa66a865cccc.zip
gdb-d34b50065a9298eabeaf74f2729faa66a865cccc.tar.gz
gdb-d34b50065a9298eabeaf74f2729faa66a865cccc.tar.bz2
2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (get_valid_dis386): Abort on unhandled table.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/i386-dis.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 15ea391..fb917ce 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -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.
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 2e44ed0..9e980e7 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -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)