aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/interrupt-noterm.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/interrupt-noterm.exp')
-rw-r--r--gdb/testsuite/gdb.base/interrupt-noterm.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/interrupt-noterm.exp b/gdb/testsuite/gdb.base/interrupt-noterm.exp
index 4ec4e85..ddf4ba3 100644
--- a/gdb/testsuite/gdb.base/interrupt-noterm.exp
+++ b/gdb/testsuite/gdb.base/interrupt-noterm.exp
@@ -23,7 +23,7 @@ if [prepare_for_testing "failed to prepare for testing" \
# Pretend there's no terminal.
gdb_test_no_output "set interactive-mode off"
-if ![runto main] {
+if ![runto_main] {
fail "can't run to main"
return -1
}