aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/gdb11531.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/gdb11531.exp')
-rw-r--r--gdb/testsuite/gdb.base/gdb11531.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/gdb11531.exp b/gdb/testsuite/gdb.base/gdb11531.exp
index 6cde80d..59ef439 100644
--- a/gdb/testsuite/gdb.base/gdb11531.exp
+++ b/gdb/testsuite/gdb.base/gdb11531.exp
@@ -31,7 +31,7 @@ if [target_info exists gdb,no_hardware_watchpoints] {
gdb_test_no_output "set can-use-hw-watchpoints 0" ""
}
-if { ![runto main] } then {
+if { ![runto_main] } then {
fail "run to main"
return
}