summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/watch-notconst.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/watch-notconst.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/watch-notconst.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/watch-notconst.exp b/gdb/testsuite/gdb.dwarf2/watch-notconst.exp
index f2c07693be5..498648bd768 100644
--- a/gdb/testsuite/gdb.dwarf2/watch-notconst.exp
+++ b/gdb/testsuite/gdb.dwarf2/watch-notconst.exp
@@ -33,7 +33,7 @@ if { [prepare_for_testing "failed to prepare" "${test}" \
if { ![runto f] } {
perror "Could not run to breakpoint `f'."
- continue
+ return
}
gdb_test "watch x" ".*\[Ww\]atchpoint 2: x" "watch x"