From b17fcc10396991b4b095c279672398a9c54c03ab Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Wed, 16 Oct 2019 16:53:37 +0200 Subject: [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 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed as signed. Change-Id: Ie494d24fad7a9af7ac6bfaf731c4aa04f1333830 --- gdb/testsuite/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/testsuite/ChangeLog') 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 + + * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed + as signed. + 2019-10-14 Simon Marchi * gdb.mi/list-thread-groups-available.exp: Read entries one by -- cgit v1.1