From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29123 invoked by alias); 31 Mar 2009 22:13:59 -0000 Received: (qmail 28827 invoked by uid 22791); 31 Mar 2009 22:13:54 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 Mar 2009 22:13:49 +0000 Received: from wpaz21.hot.corp.google.com (wpaz21.hot.corp.google.com [172.24.198.85]) by smtp-out.google.com with ESMTP id n2VMDk8L003226 for ; Tue, 31 Mar 2009 15:13:46 -0700 Received: from localhost (ruffy.mtv.corp.google.com [172.18.118.116]) by wpaz21.hot.corp.google.com with ESMTP id n2VMDiNO009320 for ; Tue, 31 Mar 2009 15:13:45 -0700 Received: by localhost (Postfix, from userid 67641) id B09B21C7595; Tue, 31 Mar 2009 15:13:44 -0700 (PDT) To: gdb-patches@sourceware.org Subject: [RFA] i386-nat.c (child_post_startup_inferior): Delete, unused. Message-Id: <20090331221344.B09B21C7595@localhost> Date: Tue, 31 Mar 2009 22:50:00 -0000 From: dje@google.com (Doug Evans) X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00712.txt.bz2 Hi. I couldn't find any place that uses this. Ok to check in? 2009-03-31 Doug Evans * 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. */