aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2019-12-04 10:41:43 +0100
committerJan Beulich <jbeulich@suse.com>2019-12-04 10:41:43 +0100
commit77ad80922bf3042536fc41b19cc0bf230ea485b4 (patch)
treec624e1251de04dbcf8fda216e882683605f13b03 /opcodes/i386-dis.c
parent13e600d0f5601e354f1f3ed896db35845a682fee (diff)
downloadgdb-77ad80922bf3042536fc41b19cc0bf230ea485b4.zip
gdb-77ad80922bf3042536fc41b19cc0bf230ea485b4.tar.gz
gdb-77ad80922bf3042536fc41b19cc0bf230ea485b4.tar.bz2
x86/Intel: extend MOVDIRI testing
Test also memory operands with operand size specifier, which was broken prior to dc2be329b950 ("i386: Only check suffix in instruction mnemonic"), due to the template not permitting any suffixes. Note that this uncovered a disassembler issue, which is being fixed here as well.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 6b08dd6..2a0e765 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -10522,7 +10522,7 @@ static const struct dis386 mod_table[][2] = {
},
{
/* MOD_0F38F9_PREFIX_0 */
- { "movdiri", { Em, Gv }, PREFIX_OPCODE },
+ { "movdiri", { Ev, Gv }, PREFIX_OPCODE },
},
{
/* MOD_62_32BIT */