aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp')
-rw-r--r--gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp b/gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp
index 4e36c42..5b55739 100644
--- a/gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp
+++ b/gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp
@@ -79,7 +79,7 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
return -1
}
-if { ![runto main] } then {
+if { ![runto_main] } then {
fail "run to main"
return
}
@@ -134,7 +134,7 @@ proc test {always_inserted} {
clean_restart $binfile
- if { ![runto main] } then {
+ if { ![runto_main] } then {
fail "run to main"
return
}