diff options
author | Tom de Vries <tdevries@suse.de> | 2025-06-25 09:39:30 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-06-25 09:39:30 +0200 |
commit | 5d721846dc366dff149b83776a5584a2b7f1243f (patch) | |
tree | 2a79bc4f010a19901b7e7de1cdb8071222a3f5e9 /gdb/python | |
parent | 4fa27ce03adc8735886b904af05611508acd6a44 (diff) | |
download | binutils-5d721846dc366dff149b83776a5584a2b7f1243f.zip binutils-5d721846dc366dff149b83776a5584a2b7f1243f.tar.gz binutils-5d721846dc366dff149b83776a5584a2b7f1243f.tar.bz2 |
[gdb/testsuite] Fix gdb.base/infcall-failure.exp on freebsd
On x86_64-freebsd with test-case gdb.base/infcall-failure.exp I get:
...
(gdb) continue
Continuing.
Program received signal SIGSEGV, Segmentation fault.
Address not mapped to object.
0x0000000000400522 in func_segfault () at infcall-failure.c:24
24 return *p; /* Segfault here. */
Error in testing condition for breakpoint 2:
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwind-on-signal on".
Evaluation of the expression containing the function
(func_segfault) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) FAIL: $exp: target_async=on: target_non_stop=on: \
run_cond_hits_segfault_test: continue
...
The problem is that the regexp in the test-case doesn't expect the
"Address not mapped to object." bit.
Fix this by updating the regexp.
Approved-by: Kevin Buettner <kevinb@redhat.com>
Tested on x86_64-freebsd and x86_64-linux.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions