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/target.c | |
parent | cce0cbdcd7730fb5e803a1411118100b8981aec8 (diff) | |
download | gdb-c5b739b50de6c5e5a6c81bbaf72585e62d41ea90.zip gdb-c5b739b50de6c5e5a6c81bbaf72585e62d41ea90.tar.gz 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/target.c')
-rw-r--r-- | gdb/target.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |