From c5af0dad33ff96dbb404710539f01b011cff0453 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 29 Apr 2009 22:25:17 +0000 Subject: [PATCH] * i386-nat.c (child_post_startup_inferior): Delete, unused. --- gdb/ChangeLog | 4 ++++ gdb/i386-nat.c | 9 --------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dca1530662c..92f31854d05 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-04-29 Doug Evans + + * i386-nat.c (child_post_startup_inferior): Delete, unused. + 2009-04-29 Pedro Alves * breakpoint.c (print_exception_catchpoint): Access `b' directly diff --git a/gdb/i386-nat.c b/gdb/i386-nat.c index fb6d3dbaf15..667a5755861 100644 --- a/gdb/i386-nat.c +++ b/gdb/i386-nat.c @@ -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. */ -- 2.30.2