diff options
author | Nick Clifton <nickc@redhat.com> | 2016-12-01 10:26:32 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-12-01 10:26:32 +0000 |
commit | a37a2806e3289294ed214aed3c8a45db46026b39 (patch) | |
tree | e70ff3bcf372f9f6aac0407d4bcb56ee2cbedc22 /opcodes/i386-dis.c | |
parent | 50455f1ab2935f7321215dfa681745c9b1cb5b19 (diff) | |
download | gdb-a37a2806e3289294ed214aed3c8a45db46026b39.zip gdb-a37a2806e3289294ed214aed3c8a45db46026b39.tar.gz gdb-a37a2806e3289294ed214aed3c8a45db46026b39.tar.bz2 |
Fix abort in x86 disassembler.
PR binutils/20893
* i386-dis.c (OP_VEX): Replace call to abort with a append of bad
opcode designator.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r-- | opcodes/i386-dis.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index ada4401..ad0baf1 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -16975,7 +16975,8 @@ OP_VEX (int bytemode, int sizeflag ATTRIBUTE_UNUSED) names = names_mask; break; default: - abort (); + /* See PR binutils/20893 for a reproducer. */ + oappend ("(bad)"); return; } break; |