aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-utils.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2017-11-13 12:19:34 +0100
committerJan Beulich <jbeulich@suse.com>2017-11-13 12:19:34 +0100
commit2abc2bec4d8c241c1cd3972b64162407128b4daf (patch)
tree55c7f0738e44fe290e1f5d44d8a8d34fbeb2a037 /gdb/proc-utils.h
parented1794ee7a2bd8adc22e5bb8e7343b72758d5692 (diff)
downloadgdb-2abc2bec4d8c241c1cd3972b64162407128b4daf.zip
gdb-2abc2bec4d8c241c1cd3972b64162407128b4daf.tar.gz
gdb-2abc2bec4d8c241c1cd3972b64162407128b4daf.tar.bz2
x86-64/Intel: issue diagnostic for out of range displacement
... rather than silently dropping it altogether. i386_finalize_displacement() expects baseindex to already be set, so the respective statement needs to be moved up. This then also allows a subsequent conditional to be simplified. For this to not regress on 32-bit addressing, break out address size guessing from i386_index_check(), invoking the new function earlier so that i386_finalize_displacement() has i.prefix[ADDR_PREFIX] available. i386_addressing_mode () in turn needs i.base_reg / i.index_reg set earlier.
Diffstat (limited to 'gdb/proc-utils.h')
0 files changed, 0 insertions, 0 deletions