"continue -expect".
* gdb.t06/break.exp: Likewise.
* gdb.t07/watchpoint.exp: Likewise.
* gdb.t13/bitfields.exp: Likewise.
* gdb.t15/{funcargs,return}.exp: Likewise.
* gdb.stabs/weird.exp: Likewise.
* config/{mips,udi}-gdb.exp: Likewise.
expect {
-re "A program is being debugged already. Kill it\? \(y or n\)" {
send "y\n"
- continue -expect
+ exp_continue
}
-re "Reading symbols from.*done..*$prompt $" { }
-re "$prompt $" { error "GDB couldn't read file" }
set timeout 60
expect {
-re "target udi $targetname\[\r\n\]+" {
- continue -expect
+ exp_continue
}
-re "TIP UDI 1.2 Conformant.*$prompt $" {
verbose "Set target to $targetname"
}
-re "A program is being debugged already. Kill it\? \(y or n\)" {
send "y\n"
- continue -expect
+ exp_continue
}
timeout {
error "Couldn't set target for UDI."