aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch/gdb1431.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.arch/gdb1431.exp')
-rw-r--r--gdb/testsuite/gdb.arch/gdb1431.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.arch/gdb1431.exp b/gdb/testsuite/gdb.arch/gdb1431.exp
index 5671864..db3a15e 100644
--- a/gdb/testsuite/gdb.arch/gdb1431.exp
+++ b/gdb/testsuite/gdb.arch/gdb1431.exp
@@ -49,7 +49,8 @@ gdb_load ${binfile}
#
if ![runto_main] then {
- gdb_suppress_tests
+ fail "can't run to main"
+ return 0
}
gdb_test "advance sub1" "hello world\r\n$hex in sub1 \\(\\)" "get to sub1"