This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RFA: [target.c] Tell GUI inferior is gone


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]