summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/cond-expr.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/cond-expr.exp')
-rw-r--r--gdb/testsuite/gdb.base/cond-expr.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/cond-expr.exp b/gdb/testsuite/gdb.base/cond-expr.exp
index d383d3b4458..f0c4c328594 100644
--- a/gdb/testsuite/gdb.base/cond-expr.exp
+++ b/gdb/testsuite/gdb.base/cond-expr.exp
@@ -44,7 +44,7 @@ clean_restart ${binfile}
if ![runto_main] then {
perror "couldn't run to breakpoint"
- continue
+ return
}
gdb_test "print (2 ? 3 : 4)" "\[0-9\]* = 3" \