aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/gdb.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/lib/gdb.exp')
-rw-r--r--gdb/testsuite/lib/gdb.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 4658c8d..fcaaf3c 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -312,13 +312,13 @@ proc gdb_start_cmd {args} {
}
send_gdb "start $args\n"
+ # Use -notransfer here so that test cases (like chng-sym.exp)
+ # may test for additional start-up messages.
gdb_expect 60 {
-re "The program .* has been started already.*y or n. $" {
send_gdb "y\n"
exp_continue
}
- # Use -notransfer here so that test cases (like chng-sym.exp)
- # may test for additional start-up messages.
-notransfer -re "Starting program: \[^\r\n\]*" {
return 0
}