aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@arm.com>2017-09-26 09:57:18 +0100
committerThomas Preud'homme <thomas.preudhomme@arm.com>2017-09-26 09:57:18 +0100
commitdf8899e5c8b60ffbbe93e35315ebb76a9c80ee37 (patch)
treefdcf540b1575a178c11ec0768bc800783b483e5a /gdb/python
parent66cfc0fd0d9daadc2dac5a783b69b4050c0b1722 (diff)
downloadbinutils-df8899e5c8b60ffbbe93e35315ebb76a9c80ee37.zip
binutils-df8899e5c8b60ffbbe93e35315ebb76a9c80ee37.tar.gz
binutils-df8899e5c8b60ffbbe93e35315ebb76a9c80ee37.tar.bz2
Fix FAILs in compare-sections.exp
compare-sections.exp has two cases that are not handled appropriately: 1) value read with msb set 2) error while patching that section This patch adapts the "get value of read-only section" test to print the value as an unsigned integer to fix 1) and test for the error message to not set the written variable if read-only section cannot be written to so as to solve 2). 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com> Pedro Alves <palves@redhat.com> gdb/testsuite/ * gdb.base/compare-sections.exp (get value of read-only section): Read as unsigned value. (corrupt read-only section): Likewise and don't set written if patching failed.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions