2000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* remote.c (remote_async_detach): Use target_mourn_inferior(), to make sure that all is cleaned up after we disconnect from the target. (remote_detach): Ditto.
This commit is contained in:
parent
c61b871721
commit
cca728d0c9
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
|
||||||
|
|
||||||
|
* remote.c (remote_async_detach): Use target_mourn_inferior(), to
|
||||||
|
make sure that all is cleaned up after we disconnect from the
|
||||||
|
target.
|
||||||
|
(remote_detach): Ditto.
|
||||||
|
|
||||||
2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
|
2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
|
||||||
|
|
||||||
From Rodney Brown <RodneyBrown@pmsc.com>
|
From Rodney Brown <RodneyBrown@pmsc.com>
|
||||||
|
|
|
@ -2114,7 +2114,7 @@ remote_detach (args, from_tty)
|
||||||
strcpy (buf, "D");
|
strcpy (buf, "D");
|
||||||
remote_send (buf, PBUFSIZ);
|
remote_send (buf, PBUFSIZ);
|
||||||
|
|
||||||
pop_target ();
|
target_mourn_inferior ();
|
||||||
if (from_tty)
|
if (from_tty)
|
||||||
puts_filtered ("Ending remote debugging.\n");
|
puts_filtered ("Ending remote debugging.\n");
|
||||||
|
|
||||||
|
@ -2139,7 +2139,7 @@ remote_async_detach (args, from_tty)
|
||||||
if (target_is_async_p ())
|
if (target_is_async_p ())
|
||||||
SERIAL_ASYNC (remote_desc, NULL, 0);
|
SERIAL_ASYNC (remote_desc, NULL, 0);
|
||||||
|
|
||||||
pop_target ();
|
target_mourn_inferior ();
|
||||||
if (from_tty)
|
if (from_tty)
|
||||||
puts_filtered ("Ending remote debugging.\n");
|
puts_filtered ("Ending remote debugging.\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue