summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/watchpoint.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/watchpoint.exp')
-rw-r--r--gdb/testsuite/gdb.base/watchpoint.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp
index f9fda6559b2..608bebeea0c 100644
--- a/gdb/testsuite/gdb.base/watchpoint.exp
+++ b/gdb/testsuite/gdb.base/watchpoint.exp
@@ -388,7 +388,9 @@ proc test_stepping {} {
send_gdb "finish\n"
gdb_expect {
- -re "Run.*exit from.*marker1.* at" { }
+ -re "Run.*exit from.*marker1.* at" {
+ pass "finish from marker1"
+ }
default { fail "finish from marker1" ; return }
}