aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2020-06-18 09:13:49 +0200
committerH.J. Lu <hjl.tools@gmail.com>2020-06-18 04:58:27 -0700
commitd27c357a5b83773054e85ff3ea5dbfe18b9dd3c0 (patch)
treecf094530f06edceda408c033c60d93d8953e0881 /opcodes
parent9a17a136439c200b13a69d453f38824b7edc522c (diff)
downloadgdb-d27c357a5b83773054e85ff3ea5dbfe18b9dd3c0.zip
gdb-d27c357a5b83773054e85ff3ea5dbfe18b9dd3c0.tar.gz
gdb-d27c357a5b83773054e85ff3ea5dbfe18b9dd3c0.tar.bz2
x86: also test alternative VMGEXIT encoding
gas/ * testsuite/gas/i386/arch-13.s: Add alternative VMGEXIT case. * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust expectations. opcodes/ * i386-dis.c (prefix_table): Revert the last vmgexit change.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/i386-dis.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index f604f6e..542b2c1 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2020-06-18 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-dis.c (prefix_table): Revert the last vmgexit change.
+
2020-06-17 Lili Cui <lili.cui@intel.com>
* i386-dis.c (prefix_table): Delete the incorrect vmgexit.
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 6ac1d74..441866d 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -3576,6 +3576,8 @@ static const struct dis386 prefix_table[][4] = {
{
{ "vmmcall", { Skip_MODRM }, 0 },
{ "vmgexit", { Skip_MODRM }, 0 },
+ { Bad_Opcode },
+ { "vmgexit", { Skip_MODRM }, 0 },
},
/* PREFIX_0F01_REG_5_MOD_0 */