This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RFA: [target.c] Tell GUI inferior is gone
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: RFA: [target.c] Tell GUI inferior is gone
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Fri, 13 Oct 2000 17:30:16 -0400
- Organization: Red Hat , Inc. - Toronto
2000-10-13 Fernando Nasser <fnasser@cygnus.com>
* target.c (generic_mourn_inferior): Notify GUI that inferior is gone
by calling detach_hook, if defined.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
Index: target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.11
diff -c -p -r1.11 target.c
*** target.c 2000/09/28 07:48:14 1.11
--- target.c 2000/10/13 20:26:13
*************** generic_mourn_inferior (void)
*** 1335,1340 ****
--- 1335,1343 ----
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