summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-04-21 12:09:59 +0200
committerJan Beulich <jbeulich@suse.com>2023-04-21 12:09:59 +0200
commitd82c06b68e32d01d59b664fe32496184db19b251 (patch)
treeec196accf2f3f77afeef573cd7f251b9e1705792 /opcodes
parenta82b3c5656d62a47173ddebab52819a2d0788de7 (diff)
downloadbinutils-gdb-d82c06b68e32d01d59b664fe32496184db19b251.tar.gz
x86: drop use of setjmp() from disassembler
With the longjmp() uses all gone, the setjmp() isn't necessary anymore either.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/i386-dis.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 24815389353..d6bff51e6e6 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -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))