summaryrefslogtreecommitdiff
path: root/gdb/proc-api.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2017-11-30 11:48:13 +0100
committerJan Beulich <jbeulich@suse.com>2017-11-30 11:48:13 +0100
commit7ac20022477c163983de77e5b16c016d518ca7bc (patch)
treea8aaf1aa967b6f7892353eb67cf2029e46622d92 /gdb/proc-api.c
parentb5014f7af26ff0fbc1128b5fabdaf3bd5918dd94 (diff)
downloadbinutils-gdb-7ac20022477c163983de77e5b16c016d518ca7bc.tar.gz
x86: derive DispN from BaseIndex
BaseIndex implies - with the exception of string instructions the optional presence of a displacement. This is almost completely uniform for all instructions (the sole exception being MPX ones, which don't allow 16-bit addressing and hence Disp16), so there's no point in explicitly stating this in the main opcode table. Drop those explict specifications in favor of adding logic to i386-gen, shrinking the table size quite a bit and hence making it more readable. The opcodes/i386-tbl.h changes are due to a few cases where pointless Disp* still hadn't been removed from their insns.
Diffstat (limited to 'gdb/proc-api.c')
0 files changed, 0 insertions, 0 deletions