aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch/gdb1291.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.arch/gdb1291.exp')
-rw-r--r--gdb/testsuite/gdb.arch/gdb1291.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.arch/gdb1291.exp b/gdb/testsuite/gdb.arch/gdb1291.exp
index 39ccf8b..9b12024 100644
--- a/gdb/testsuite/gdb.arch/gdb1291.exp
+++ b/gdb/testsuite/gdb.arch/gdb1291.exp
@@ -47,7 +47,8 @@ gdb_load ${binfile}
#
if ![runto_main] then {
- gdb_suppress_tests
+ fail "can't run to main"
+ return 0
}
gdb_test "b sub1" "Breakpoint 2.*" "set breakpoint"