aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/sigaltstack.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/sigaltstack.exp')
-rw-r--r--gdb/testsuite/gdb.base/sigaltstack.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/sigaltstack.exp b/gdb/testsuite/gdb.base/sigaltstack.exp
index 0ccfe4f..f09ee74 100644
--- a/gdb/testsuite/gdb.base/sigaltstack.exp
+++ b/gdb/testsuite/gdb.base/sigaltstack.exp
@@ -44,8 +44,9 @@ gdb_test "handle SIGVTALRM print pass nostop"
gdb_test "handle SIGPROF print pass nostop"
# Advance to main
-if { ![runto_main] } then {
- gdb_suppress_tests
+if ![runto_main] then {
+ fail "can't run to main"
+ return 0
}
# Stop in handle, when at the inner most level