aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-nat.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-04-29 22:25:17 +0000
committerDoug Evans <dje@google.com>2009-04-29 22:25:17 +0000
commitc5af0dad33ff96dbb404710539f01b011cff0453 (patch)
tree95b1bfe4417637bd7c6d7b7246abcaee2aa5b834 /gdb/i386-nat.c
parentdf2b6d2de969a06b148ff391f47f0e6da0de1da1 (diff)
downloadgdb-c5af0dad33ff96dbb404710539f01b011cff0453.zip
gdb-c5af0dad33ff96dbb404710539f01b011cff0453.tar.gz
gdb-c5af0dad33ff96dbb404710539f01b011cff0453.tar.bz2
* i386-nat.c (child_post_startup_inferior): Delete, unused.
Diffstat (limited to 'gdb/i386-nat.c')
-rw-r--r--gdb/i386-nat.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/i386-nat.c b/gdb/i386-nat.c
index fb6d3db..667a575 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. */