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 | aaf822285b21d73562a769a86772359f4fe0496f (patch) | |
tree | 5647e3ad321a61084d7739a705ddea49bfbe82ad /gdb/target.c | |
parent | a270f98ba694ca11ef1be12036870c2b008b22ec (diff) | |
download | gdb-aaf822285b21d73562a769a86772359f4fe0496f.tar.gz |
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 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 |