mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-01 13:26:47 +08:00
x86: drop use of setjmp() from disassembler
With the longjmp() uses all gone, the setjmp() isn't necessary anymore either.
This commit is contained in:
parent
a82b3c5656
commit
d82c06b68e
@ -39,7 +39,6 @@
|
||||
#include "libiberty.h"
|
||||
#include "safe-ctype.h"
|
||||
|
||||
#include <setjmp.h>
|
||||
typedef struct instr_info instr_info;
|
||||
|
||||
static bool dofloat (instr_info *, int);
|
||||
@ -133,7 +132,6 @@ struct dis_private {
|
||||
bfd_byte the_buffer[MAX_MNEM_SIZE];
|
||||
bfd_vma insn_start;
|
||||
int orig_sizeflag;
|
||||
OPCODES_SIGJMP_BUF bailout;
|
||||
};
|
||||
|
||||
enum address_mode
|
||||
@ -9874,9 +9872,6 @@ print_insn (bfd_vma pc, disassemble_info *info, int intel_syntax)
|
||||
ins.op_out[i] = op_out[i];
|
||||
}
|
||||
|
||||
if (OPCODES_SIGSETJMP (priv.bailout) != 0)
|
||||
return fetch_error (&ins);
|
||||
|
||||
sizeflag = priv.orig_sizeflag;
|
||||
|
||||
switch (ckprefix (&ins))
|
||||
|
Loading…
Reference in New Issue
Block a user