summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/reread.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/reread.exp')
-rw-r--r--gdb/testsuite/gdb.base/reread.exp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/reread.exp b/gdb/testsuite/gdb.base/reread.exp
index e562285bf37..78d1126421d 100644
--- a/gdb/testsuite/gdb.base/reread.exp
+++ b/gdb/testsuite/gdb.base/reread.exp
@@ -149,8 +149,7 @@ if [is_remote target] {
# This time, let the program run to completion. If GDB checks the
# executable file's timestamp now, it won't notice any change.
- gdb_test "continue" ".*Program exited.*" \
- "second pass: continue to completion"
+ gdb_continue_to_end "second pass"
# Now move the newer executable into place, and re-run. GDB
# should still notice that the executable file has changed,