aboutsummaryrefslogtreecommitdiff
path: root/gdb/fbsd-nat.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2016-07-01 08:56:13 +0200
committerJan Beulich <jbeulich@suse.com>2016-07-01 08:56:13 +0200
commit8325cc6398187c12e0fe04a68a21e4eb5f44fa20 (patch)
tree971666a5509602274df0b1827230a3c533d018ee /gdb/fbsd-nat.c
parenteefbbb8cbe2674ce4e70816ba4d80a848ab7e574 (diff)
downloadbinutils-8325cc6398187c12e0fe04a68a21e4eb5f44fa20.zip
binutils-8325cc6398187c12e0fe04a68a21e4eb5f44fa20.tar.gz
binutils-8325cc6398187c12e0fe04a68a21e4eb5f44fa20.tar.bz2
x86/Intel: fix operand checking for MOVSD
The dual purpose mnemonic (string move vs scalar double move) breaks the assumption that the isstring flag would be set on both the first and last entry in the current set of templates, which results in bogus or missing diagnostics for the string move variant of the mnemonic. Short of mostly rewriting i386_index_check() and its interaction with the rest of the code, simply shrink the template set to just string instructions when encountering the second memory operand, and run i386_index_check() a second time for the first memory operand after that reduction.
Diffstat (limited to 'gdb/fbsd-nat.c')
0 files changed, 0 insertions, 0 deletions