mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-11 13:02:10 +08:00
* lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
to restarting SID.
This commit is contained in:
parent
4b91b5ac43
commit
2b97317d48
@ -1,3 +1,8 @@
|
||||
2007-07-23 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
|
||||
to restarting SID.
|
||||
|
||||
2007-07-18 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
|
||||
|
@ -464,6 +464,10 @@ proc mi_gdb_target_load { } {
|
||||
}
|
||||
} elseif { [info procs send_target_sid] != "" } {
|
||||
# For SID, things get complex
|
||||
send_gdb "kill\n"
|
||||
gdb_expect 10 {
|
||||
-re ".*$mi_gdb_prompt$"
|
||||
}
|
||||
send_target_sid
|
||||
gdb_expect 60 {
|
||||
-re "\\^done.*$mi_gdb_prompt$" {
|
||||
|
Loading…
Reference in New Issue
Block a user