diff options
author | Fernando Nasser <fnasser@redhat.com> | 2000-10-25 14:16:25 +0000 |
---|---|---|
committer | Fernando Nasser <fnasser@redhat.com> | 2000-10-25 14:16:25 +0000 |
commit | c5b739b50de6c5e5a6c81bbaf72585e62d41ea90 (patch) | |
tree | 8124b03c6db5dfe8c5640606d7533b336d8dc546 /gdb | |
parent | cce0cbdcd7730fb5e803a1411118100b8981aec8 (diff) | |
download | fsf-binutils-gdb-c5b739b50de6c5e5a6c81bbaf72585e62d41ea90.zip fsf-binutils-gdb-c5b739b50de6c5e5a6c81bbaf72585e62d41ea90.tar.gz fsf-binutils-gdb-c5b739b50de6c5e5a6c81bbaf72585e62d41ea90.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/target.c | 3 |
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 |