[gdb/testsuite] Fix gdb.arch/i386-mpx.exp
authorTom de Vries <tdevries@suse.de>
Mon, 18 Jul 2022 03:54:14 +0000 (05:54 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 18 Jul 2022 03:54:14 +0000 (05:54 +0200)
commit68a5118c481da16f81874a92f4daaab4dcdc5d89
treec1ba0a96d3ba4f8b34f845bdb9a1289d402de348
parent53944a3bf51cdff9ad30a0c3740b8124213fdab9
[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.
gdb/testsuite/gdb.arch/i386-mpx.exp