aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-04-15 15:58:45 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-04-15 16:00:36 -0700
commit09708981e919a887e8b2966e57b6df9ce8c7941f (patch)
treed6420be618225ea8dd686d12c7f64e04abcece70 /opcodes/i386-dis.c
parent30b3dd9d4701834573e6a6c071941c25d825cab8 (diff)
downloadgdb-09708981e919a887e8b2966e57b6df9ce8c7941f.zip
gdb-09708981e919a887e8b2966e57b6df9ce8c7941f.tar.gz
gdb-09708981e919a887e8b2966e57b6df9ce8c7941f.tar.bz2
Remove the unused PREFIX_UD_XXX
Remove the unused PREFIX_UD_XXX. Invalid opcodes should be handled by prefix_table. * i386-dis.c (PREFIX_UD_SHIFT): Removed. (PREFIX_UD_REPZ): Likewise. (PREFIX_UD_REPNZ): Likewise. (PREFIX_UD_DATA): Likewise. (PREFIX_UD_ADDR): Likewise. (PREFIX_UD_LOCK): Likewise.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index ca9ea2d..a25acc6 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -222,12 +222,6 @@ fetch_data (struct disassemble_info *info, bfd_byte *addr)
}
/* Possible values for prefix requirement. */
-#define PREFIX_UD_SHIFT 8
-#define PREFIX_UD_REPZ (PREFIX_REPZ << PREFIX_UD_SHIFT)
-#define PREFIX_UD_REPNZ (PREFIX_REPNZ << PREFIX_UD_SHIFT)
-#define PREFIX_UD_DATA (PREFIX_DATA << PREFIX_UD_SHIFT)
-#define PREFIX_UD_ADDR (PREFIX_ADDR << PREFIX_UD_SHIFT)
-#define PREFIX_UD_LOCK (PREFIX_LOCK << PREFIX_UD_SHIFT)
#define PREFIX_IGNORED_SHIFT 16
#define PREFIX_IGNORED_REPZ (PREFIX_REPZ << PREFIX_IGNORED_SHIFT)
#define PREFIX_IGNORED_REPNZ (PREFIX_REPNZ << PREFIX_IGNORED_SHIFT)