aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2020-06-09 08:55:50 +0200
committerJan Beulich <jbeulich@suse.com>2020-06-09 08:55:50 +0200
commita5aaedb9dba2775d855fa394246ede08e9f36652 (patch)
tree123f05dd1ac1a12f624609171e57c08040b59dfa /opcodes
parent828c2a2580aa0a505e72cb8307905dd03c55d2a1 (diff)
downloadgdb-a5aaedb9dba2775d855fa394246ede08e9f36652.zip
gdb-a5aaedb9dba2775d855fa394246ede08e9f36652.tar.gz
gdb-a5aaedb9dba2775d855fa394246ede08e9f36652.tar.bz2
x86: correct mis-named MOD_0F51 enumerator
This is for extension major opcode 50, so name it accordingly.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/i386-dis.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index e8714ed..0ef06c9 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2020-06-09 Jan Beulich <jbeulich@suse.com>
+
+ * i386-dis.c (MOD_0F51): Rename to ...
+ (MOD_0F50): ... this.
+
2020-06-08 Alex Coplan <alex.coplan@arm.com>
* arm-dis.c (arm_opcodes): Add dfb.
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 21d9d3a..6721fac 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -800,7 +800,7 @@ enum
MOD_0F2B_PREFIX_1,
MOD_0F2B_PREFIX_2,
MOD_0F2B_PREFIX_3,
- MOD_0F51,
+ MOD_0F50,
MOD_0F71_REG_2,
MOD_0F71_REG_4,
MOD_0F71_REG_6,
@@ -2746,7 +2746,7 @@ static const struct dis386 dis386_twobyte[] = {
{ "cmovleS", { Gv, Ev }, 0 },
{ "cmovgS", { Gv, Ev }, 0 },
/* 50 */
- { MOD_TABLE (MOD_0F51) },
+ { MOD_TABLE (MOD_0F50) },
{ PREFIX_TABLE (PREFIX_0F51) },
{ PREFIX_TABLE (PREFIX_0F52) },
{ PREFIX_TABLE (PREFIX_0F53) },
@@ -10384,7 +10384,7 @@ static const struct dis386 mod_table[][2] = {
{"movntsd", { Mq, XM }, PREFIX_OPCODE },
},
{
- /* MOD_0F51 */
+ /* MOD_0F50 */
{ Bad_Opcode },
{ "movmskpX", { Gdq, XS }, PREFIX_OPCODE },
},