2000-10-25 Fernando Nasser <fnasser@cygnus.com>
authorFernando Nasser <fnasser@redhat.com>
Wed, 25 Oct 2000 14:16:25 +0000 (14:16 +0000)
committerFernando Nasser <fnasser@redhat.com>
Wed, 25 Oct 2000 14:16:25 +0000 (14:16 +0000)
        * target.c (generic_mourn_inferior): Notify GUI that inferior is gone
        by calling detach_hook, if defined.

gdb/ChangeLog
gdb/target.c

index c29f6df7078b17c89b9ffe499880058a0b0feba3..cb488c5b898f70ed15ef8c515c5876ca908fcc0a 100644 (file)
@@ -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(),
index 0ce52ba7e5a8021bea95a43139ad541c1b65a445..256dc643354ae249e206aef6cde9bd5926e7323b 100644 (file)
@@ -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 ();
 }
 \f
 /* This table must match in order and size the signals in enum target_signal