aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/anon.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/anon.exp')
-rw-r--r--gdb/testsuite/gdb.base/anon.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/anon.exp b/gdb/testsuite/gdb.base/anon.exp
index 0d77bbf..f6bb3c5 100644
--- a/gdb/testsuite/gdb.base/anon.exp
+++ b/gdb/testsuite/gdb.base/anon.exp
@@ -20,7 +20,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile {debug}] } {
return -1
}
-if { ![runto main] } then {
+if { ![runto_main] } then {
fail "run to main"
return
}