aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/target.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c29f6df..cb488c5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-25 Fernando Nasser <fnasser@cygnus.com>
+
+ * target.c (generic_mourn_inferior): Notify GUI that inferior is gone
+ by calling detach_hook, if defined.
+
2000-10-24 Kevin Buettner <kevinb@redhat.com>
* coffread.c (coff_end_symtab): When calling end_symtab(),
diff --git a/gdb/target.c b/gdb/target.c
index 0ce52ba..256dc64 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -1335,6 +1335,9 @@ generic_mourn_inferior (void)
using hit counts. So don't clear them if we're counting hits. */
if (!show_breakpoint_hit_counts)
breakpoint_clear_ignore_counts ();
+
+ if (detach_hook)
+ detach_hook ();
}
/* This table must match in order and size the signals in enum target_signal