mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
* gdb.t00/default.exp: Use "exp_continue" rather than obsolete
"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.
This commit is contained in:
@ -69,7 +69,7 @@ proc gdb_load { arg } {
|
|||||||
expect {
|
expect {
|
||||||
-re "A program is being debugged already. Kill it\? \(y or n\)" {
|
-re "A program is being debugged already. Kill it\? \(y or n\)" {
|
||||||
send "y\n"
|
send "y\n"
|
||||||
continue -expect
|
exp_continue
|
||||||
}
|
}
|
||||||
-re "Reading symbols from.*done..*$prompt $" { }
|
-re "Reading symbols from.*done..*$prompt $" { }
|
||||||
-re "$prompt $" { error "GDB couldn't read file" }
|
-re "$prompt $" { error "GDB couldn't read file" }
|
||||||
|
@ -56,7 +56,7 @@ proc gdb_target_udi { } {
|
|||||||
set timeout 60
|
set timeout 60
|
||||||
expect {
|
expect {
|
||||||
-re "target udi $targetname\[\r\n\]+" {
|
-re "target udi $targetname\[\r\n\]+" {
|
||||||
continue -expect
|
exp_continue
|
||||||
}
|
}
|
||||||
-re "TIP UDI 1.2 Conformant.*$prompt $" {
|
-re "TIP UDI 1.2 Conformant.*$prompt $" {
|
||||||
verbose "Set target to $targetname"
|
verbose "Set target to $targetname"
|
||||||
@ -69,7 +69,7 @@ proc gdb_target_udi { } {
|
|||||||
}
|
}
|
||||||
-re "A program is being debugged already. Kill it\? \(y or n\)" {
|
-re "A program is being debugged already. Kill it\? \(y or n\)" {
|
||||||
send "y\n"
|
send "y\n"
|
||||||
continue -expect
|
exp_continue
|
||||||
}
|
}
|
||||||
timeout {
|
timeout {
|
||||||
error "Couldn't set target for UDI."
|
error "Couldn't set target for UDI."
|
||||||
|
Reference in New Issue
Block a user