aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.linespec/explicit.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.linespec/explicit.exp')
-rw-r--r--gdb/testsuite/gdb.linespec/explicit.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.linespec/explicit.exp b/gdb/testsuite/gdb.linespec/explicit.exp
index 4f457dc..c01a425 100644
--- a/gdb/testsuite/gdb.linespec/explicit.exp
+++ b/gdb/testsuite/gdb.linespec/explicit.exp
@@ -584,7 +584,7 @@ namespace eval $testfile {
gdb_load [standard_output_file $exefile]
set tst "condition_command overrides explicit linespec condition"
- if {![runto main]} {
+ if {![runto_main]} {
fail $tst
} else {
if {![gdb_breakpoint "-func myfunction if arg == 1"]} {