aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/watch-cond-infcall.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/watch-cond-infcall.exp')
-rw-r--r--gdb/testsuite/gdb.base/watch-cond-infcall.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/watch-cond-infcall.exp b/gdb/testsuite/gdb.base/watch-cond-infcall.exp
index 0401ecc..dc76bf1 100644
--- a/gdb/testsuite/gdb.base/watch-cond-infcall.exp
+++ b/gdb/testsuite/gdb.base/watch-cond-infcall.exp
@@ -33,7 +33,7 @@ proc test_watchpoint { hw } {
clean_restart ${testfile}
- if { ![runto main] } then {
+ if { ![runto_main] } then {
fail "run to main"
return
}