* lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
call, to avoid interruption.
This commit is contained in:
parent
fe00719b00
commit
2de75e717c
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-01-08 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
|
||||
call, to avoid interruption.
|
||||
|
||||
2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* gdb.stabs/weird.def (args93): New.
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue