aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2019-11-14 08:47:03 +0100
committerJan Beulich <jbeulich@suse.com>2019-11-14 08:47:03 +0100
commit6f2f06bea87613a6851607829e5893d74007f5bf (patch)
tree5ec0036f1cdfa57127f3cfa8d173e6b7c0afcf28 /opcodes/i386-opc.h
parent601e8564220b94b991ce1729edfc04fd9da52906 (diff)
downloadgdb-6f2f06bea87613a6851607829e5893d74007f5bf.zip
gdb-6f2f06bea87613a6851607829e5893d74007f5bf.tar.gz
gdb-6f2f06bea87613a6851607829e5893d74007f5bf.tar.bz2
x86: make JumpAbsolute an insn attribute
... instead of an operand one: There's only ever one operand here anyway.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r--opcodes/i386-opc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index fb65264..f5938f5 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -411,6 +411,8 @@ enum
JumpByte,
/* special case for intersegment leaps/calls */
JumpInterSegment,
+ /* absolute address for jump */
+ JumpAbsolute,
/* FP insn memory format bit, sized by 0x4 */
FloatMF,
/* src/dest swap for floats. */
@@ -654,6 +656,7 @@ typedef struct i386_opcode_modifier
unsigned int jumpdword:1;
unsigned int jumpbyte:1;
unsigned int jumpintersegment:1;
+ unsigned int jumpabsolute:1;
unsigned int floatmf:1;
unsigned int floatr:1;
unsigned int size:2;
@@ -777,8 +780,6 @@ enum
Disp64,
/* Register which can be used for base or index in memory operand. */
BaseIndex,
- /* Absolute address for jump. */
- JumpAbsolute,
/* BYTE size. */
Byte,
/* WORD size. 2 byte */
@@ -832,7 +833,6 @@ typedef union i386_operand_type
unsigned int disp32s:1;
unsigned int disp64:1;
unsigned int baseindex:1;
- unsigned int jumpabsolute:1;
unsigned int byte:1;
unsigned int word:1;
unsigned int dword:1;