summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-03-01 11:25:51 +0000
committerAndrew Cagney <cagney@redhat.com>2000-03-01 11:25:51 +0000
commit75660bc0729c1d3ede5c3585c313d41313ff77bb (patch)
tree2e6ee1c37b7ba12e9f584387947d88e618e8c63a
parent15db4a06e076a1345c55c9927606728cb0eb01e3 (diff)
downloadbinutils-gdb-75660bc0729c1d3ede5c3585c313d41313ff77bb.tar.gz
From Fernando: call generic_mourn_inferior() when closing rdi and sim
targets.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/remote-rdi.c1
-rw-r--r--gdb/remote-sim.c1
3 files changed, 8 insertions, 0 deletions
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 <cagney@b1.cygnus.com>
+
+ From Wed 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
+ * 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 <cagney@b1.cygnus.com>
* 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.