aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-02-16 11:27:40 +0100
committerJan Beulich <jbeulich@suse.com>2021-02-16 11:27:40 +0100
commitb818b220e40a0b5aa281e50272f6f6af2f759c86 (patch)
treef63bab0764f23db4596c0ccd291c44b993e648b5 /opcodes/i386-gen.c
parentc2f1204d1f7ceb36149d053509fce2f93733bd74 (diff)
downloadgdb-b818b220e40a0b5aa281e50272f6f6af2f759c86.zip
gdb-b818b220e40a0b5aa281e50272f6f6af2f759c86.tar.gz
gdb-b818b220e40a0b5aa281e50272f6f6af2f759c86.tar.bz2
x86: have preprocessor expand macros
There's no point having i386-gen's set_bitfield() to handle any aliases, now that we pass the opcode table through the C preprocessor anyway.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r--opcodes/i386-gen.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index 44cdc66..d7bd56d 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -971,17 +971,6 @@ set_bitfield (char *f, bitfield *array, int value,
if (*f == '\0')
return;
- if (strcmp (f, "CpuFP") == 0)
- {
- set_bitfield("Cpu387", array, value, size, lineno);
- set_bitfield("Cpu287", array, value, size, lineno);
- f = "Cpu8087";
- }
- else if (strcmp (f, "Mmword") == 0)
- f= "Qword";
- else if (strcmp (f, "Oword") == 0)
- f= "Xmmword";
-
for (i = 0; i < size; i++)
if (strcasecmp (array[i].name, f) == 0)
{