aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/auxv.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/auxv.exp')
-rw-r--r--gdb/testsuite/gdb.base/auxv.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/auxv.exp b/gdb/testsuite/gdb.base/auxv.exp
index 1cfbf28..4713de4 100644
--- a/gdb/testsuite/gdb.base/auxv.exp
+++ b/gdb/testsuite/gdb.base/auxv.exp
@@ -56,8 +56,9 @@ if {$core_works} {
}
}
-if { ![runto_main] } then {
- gdb_suppress_tests
+if ![runto_main] then {
+ fail "can't run to main"
+ return 0
}
set print_core_line [gdb_get_line_number "ABORT;"]
gdb_test "tbreak $print_core_line"