aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-07-18 05:54:14 +0200
committerTom de Vries <tdevries@suse.de>2022-07-18 05:54:14 +0200
commit68a5118c481da16f81874a92f4daaab4dcdc5d89 (patch)
treec1ba0a96d3ba4f8b34f845bdb9a1289d402de348
parent53944a3bf51cdff9ad30a0c3740b8124213fdab9 (diff)
downloadgdb-68a5118c481da16f81874a92f4daaab4dcdc5d89.zip
gdb-68a5118c481da16f81874a92f4daaab4dcdc5d89.tar.gz
gdb-68a5118c481da16f81874a92f4daaab4dcdc5d89.tar.bz2
[gdb/testsuite] Fix gdb.arch/i386-mpx.exp
Since commit c4a3dbaf113 ("Expose current 'print' settings to Python") we have: ... (gdb) print /x $bnd0 = {0x10, 0x20}^M $22 = {lbound = 0x10, ubound = 0x20} : size 0x11^M (gdb) FAIL: gdb.arch/i386-mpx.exp: verify size for bnd0 ... The regexp in the test-case expects "size 17". Fix this by updating the regexp. Tested on x86_64-linux.
-rw-r--r--gdb/testsuite/gdb.arch/i386-mpx.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-mpx.exp b/gdb/testsuite/gdb.arch/i386-mpx.exp
index 336c046..0de86ba 100644
--- a/gdb/testsuite/gdb.arch/i386-mpx.exp
+++ b/gdb/testsuite/gdb.arch/i386-mpx.exp
@@ -132,5 +132,5 @@ after a failure on allocating an entry"
# Going to test the python extension for lenght.
if { [skip_python_tests] } { continue }
# Verify if size is right
-set test_string ".*\\\: size 17.*"
+set test_string ".*\\\: size 0x11.*"
gdb_test "print /x \$bnd0 = {0x10, 0x20}" "$test_string" "verify size for bnd0"