From c5b739b50de6c5e5a6c81bbaf72585e62d41ea90 Mon Sep 17 00:00:00 2001 From: Fernando Nasser Date: Wed, 25 Oct 2000 14:16:25 +0000 Subject: [PATCH] 2000-10-25 Fernando Nasser * target.c (generic_mourn_inferior): Notify GUI that inferior is gone by calling detach_hook, if defined. --- gdb/ChangeLog | 5 +++++ gdb/target.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c29f6df707..cb488c5b89 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 0ce52ba7e5..256dc64335 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