aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.reverse
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-10-25 06:14:03 +0200
committerTom de Vries <tdevries@suse.de>2024-10-25 06:14:03 +0200
commitd4110830693458b6ec684b21e64ec6320a400f5b (patch)
treead08f3ad0c638a026b8c5ccea111ead367d6ede6 /gdb/testsuite/gdb.reverse
parentbe6d665abddbdb598ca207472fbc37bb94799095 (diff)
downloadbinutils-d4110830693458b6ec684b21e64ec6320a400f5b.zip
binutils-d4110830693458b6ec684b21e64ec6320a400f5b.tar.gz
binutils-d4110830693458b6ec684b21e64ec6320a400f5b.tar.bz2
[gdb/testsuite] Fix some test-cases for check-read1 (gdb_test_lines)
I ran the testsuite in an environment simulating a stressed system in combination with check-read1. This exposes a few more FAILs. Fix some by using gdb_test_lines, as well as related gdb_get_lines. Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.reverse')
-rw-r--r--gdb/testsuite/gdb.reverse/sigall-precsave.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.reverse/sigall-precsave.exp b/gdb/testsuite/gdb.reverse/sigall-precsave.exp
index aab4551..902772a 100644
--- a/gdb/testsuite/gdb.reverse/sigall-precsave.exp
+++ b/gdb/testsuite/gdb.reverse/sigall-precsave.exp
@@ -155,7 +155,7 @@ gdb_test "break $breakloc" \
"breakpoint at end of main"
# Signal handlers must be disabled
-gdb_test "handle all nostop noprint"
+gdb_test_lines "handle all nostop noprint" "" ""
# The list of signals that the program generates, in the order they
# are generated.
@@ -276,7 +276,7 @@ gdb_test "record restore $precsave" \
"reload precord save file"
# Signal handlers must be re-enabled
-gdb_test "handle all stop print"
+gdb_test_lines "handle all stop print" "" ""
# Make the first signal SIGABRT because it is always supported.
set sig_supported 1