diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c29f6df7078..cb488c5b898 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-10-25 Fernando Nasser + + * target.c (generic_mourn_inferior): Notify GUI that inferior is gone + by calling detach_hook, if defined. + 2000-10-24 Kevin Buettner * coffread.c (coff_end_symtab): When calling end_symtab(), diff --git a/gdb/target.c b/gdb/target.c index 0ce52ba7e5a..256dc643354 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