From 18a842716fd9c817d31308a33e11882a755f706a Mon Sep 17 00:00:00 2001 From: hjl Date: Fri, 27 Mar 2009 00:28:32 +0000 Subject: [PATCH] 2009-03-26 H.J. Lu * i386-dis.c (get_valid_dis386): Abort on unhandled table. --- opcodes/ChangeLog | 4 ++++ opcodes/i386-dis.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 15ea3919e8..fb917ce7c2 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2009-03-26 H.J. Lu + + * i386-dis.c (get_valid_dis386): Abort on unhandled table. + 2009-03-18 Alan Modra * cgen-opc.c: Include alloca-conf.h rather than alloca.h. diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 2e44ed0a8a..9e980e7538 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) -- 2.11.0