diff options
author | Tom de Vries <tdevries@suse.de> | 2019-10-16 16:53:37 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2019-10-16 16:53:37 +0200 |
commit | b17fcc10396991b4b095c279672398a9c54c03ab (patch) | |
tree | 7ea6aea209c4b1b1c15555317905c364ad693b6a /gdb/testsuite/ChangeLog | |
parent | 22216541c1796e9e1331d6f4e16b03a6f02e7381 (diff) | |
download | gdb-b17fcc10396991b4b095c279672398a9c54c03ab.zip gdb-b17fcc10396991b4b095c279672398a9c54c03ab.tar.gz gdb-b17fcc10396991b4b095c279672398a9c54c03ab.tar.bz2 |
[gdb/testsuite] Fix regexp for reg value in jit-reader.exp
On openSUSE Leap 15.1 (as well as on Fedora-x86_64-m64 buildbot) I see:
...
FAIL: gdb.base/jit-reader.exp: with jit-reader: after mangling: current frame: info registers
...
The problem is that r10 is printed signed:
...
r10 0xffffffffffffffb0 -80^M
...
but the regexp expects a signed value:
...
"r10 $hex +$decimal" \
...
Fix this by allowing signed values.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2019-10-16 Tom de Vries <tdevries@suse.de>
* gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
as signed.
Change-Id: Ie494d24fad7a9af7ac6bfaf731c4aa04f1333830
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ce6e0f2..c9e2457 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-10-16 Tom de Vries <tdevries@suse.de> + + * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed + as signed. + 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca> * gdb.mi/list-thread-groups-available.exp: Read entries one by |