From 75660bc0729c1d3ede5c3585c313d41313ff77bb Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 1 Mar 2000 11:25:51 +0000 Subject: [PATCH] From Fernando: call generic_mourn_inferior() when closing rdi and sim targets. --- gdb/ChangeLog | 6 ++++++ gdb/remote-rdi.c | 1 + gdb/remote-sim.c | 1 + 3 files changed, 8 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1bc991e5be8..3b28490e262 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Wed Mar 1 22:12:35 2000 Andrew Cagney + + From Wed 23 Feb 2000 Fernando Nasser : + * remote-sim.c (gdbsim_close): Call generic_mourn_inferior. + * remote-rdi.c (arm_rdi_close): Ditto. + Wed Mar 1 19:31:32 2000 Andrew Cagney * CONTRIBUTE (configure.in): Note that patches to configure are diff --git a/gdb/remote-rdi.c b/gdb/remote-rdi.c index b4325156007..eff85ad283d 100644 --- a/gdb/remote-rdi.c +++ b/gdb/remote-rdi.c @@ -462,6 +462,7 @@ arm_rdi_close (quitting) closed_already = 1; inferior_pid = 0; Adp_CloseDevice (); + generic_mourn_inferior (); } } diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 109d01d9773..dd231ad3ca6 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -560,6 +560,7 @@ gdbsim_close (quitting) } end_callbacks (); + generic_mourn_inferior (); } /* Takes a program previously attached to and detaches it. -- 2.30.2