aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-arch.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-09-29 10:14:52 -0600
committerTom Tromey <tromey@adacore.com>2021-10-29 07:23:38 -0600
commit9e6978753df24726a73667b293ac7f0cc94a2fcb (patch)
tree0c2979ffc3f7301481a1bf6b71b8c2cb95656b92 /gdb/python/py-arch.c
parentb88e456f7e3e6d8c354da57d3e77a98575070ee8 (diff)
downloadbinutils-9e6978753df24726a73667b293ac7f0cc94a2fcb.zip
binutils-9e6978753df24726a73667b293ac7f0cc94a2fcb.tar.gz
binutils-9e6978753df24726a73667b293ac7f0cc94a2fcb.tar.bz2
Avoid self-test failures on x86-linux
The disassembly tests in "maint selftest" will fail on x86-linux. This happens because opcodes rejects an attempt to disassemble for an arch with a 64-bit address size when bfd_vma is 32-bit. This patch avoids this problem by avoiding the test in this case. I chose to do it this way because this seems to be the only situation where opcodes checks the size of bfd_vma. For v2 of this patch, I've also updated memory_error_test to do the same thing. This is needed due to the "improve error reporting from the disassembler" patch.
Diffstat (limited to 'gdb/python/py-arch.c')
0 files changed, 0 insertions, 0 deletions