Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] i386-nat.c (child_post_startup_inferior): Delete, unused.
@ 2009-03-31 22:50 Doug Evans
  2009-04-01 17:14 ` Joel Brobecker
  0 siblings, 1 reply; 2+ messages in thread
From: Doug Evans @ 2009-03-31 22:50 UTC (permalink / raw)
  To: gdb-patches

Hi.

I couldn't find any place that uses this.

Ok to check in?

2009-03-31  Doug Evans  <dje@google.com>

	* i386-nat.c (child_post_startup_inferior): Delete, unused.

Index: i386-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-nat.c,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 i386-nat.c
--- i386-nat.c	3 Jan 2009 05:57:51 -0000	1.19
+++ i386-nat.c	31 Mar 2009 22:11:57 -0000
@@ -231,15 +231,6 @@ i386_cleanup_dregs (void)
   dr_status_mirror  = 0;
 }
 
-/* Reset all debug registers at each new startup to avoid missing
-   watchpoints after restart.  */
-
-void
-child_post_startup_inferior (ptid_t ptid)
-{
-  i386_cleanup_dregs ();
-}
-
 /* Print the values of the mirrored debug registers.  This is called
    when maint_show_dr is non-zero.  To set that up, type "maint
    show-debug-regs" at GDB's prompt.  */


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFA] i386-nat.c (child_post_startup_inferior): Delete, unused.
  2009-03-31 22:50 [RFA] i386-nat.c (child_post_startup_inferior): Delete, unused Doug Evans
@ 2009-04-01 17:14 ` Joel Brobecker
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Brobecker @ 2009-04-01 17:14 UTC (permalink / raw)
  To: Doug Evans; +Cc: gdb-patches

> I couldn't find any place that uses this.

As far as I can tell, this routine was related to the
CHILD_POST_STARTUP_INFERIOR macro which is no longer used.
It was used in inftarg.c, which was deleted in 2007.

> 2009-03-31  Doug Evans  <dje@google.com>
> 
> 	* i386-nat.c (child_post_startup_inferior): Delete, unused.

OK.

Thanks,
-- 
Joel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-01 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-31 22:50 [RFA] i386-nat.c (child_post_startup_inferior): Delete, unused Doug Evans
2009-04-01 17:14 ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox