* lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up

messages available to test cases (like chng-sym.exp).
This commit is contained in:
Ulrich Weigand 2007-03-16 15:29:00 +00:00
parent 591a748af9
commit bbb88ebfcf
2 changed files with 8 additions and 1 deletions

View file

@ -283,7 +283,9 @@ proc gdb_run_cmd {args} {
send_gdb "y\n"
exp_continue
}
-re "Starting program: \[^\r\n\]*" {}
# Use -notransfer here so that test cases (like chng-sym.exp)
# may test for additional start-up messages.
-notransfer -re "Starting program: \[^\r\n\]*" {}
}
}