From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25826 invoked by alias); 5 Dec 2001 11:23:39 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 25798 invoked from network); 5 Dec 2001 11:23:33 -0000 Received: from unknown (HELO is.elta.co.il) (199.203.121.2) by sources.redhat.com with SMTP; 5 Dec 2001 11:23:33 -0000 Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id NAA07382; Wed, 5 Dec 2001 13:22:01 +0200 (IST) Date: Wed, 05 Dec 2001 03:23:00 -0000 From: Eli Zaretskii X-Sender: eliz@is To: Pierre Muller cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] Possible bug with i386 watchpoints on several targets. In-Reply-To: <4.2.0.58.20011205102820.02033338@ics.u-strasbg.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2001-12/txt/msg00131.txt.bz2 On Wed, 5 Dec 2001, Pierre Muller wrote: > Eli, you didn't answer if you agree that > the call to i386_cleanup_dregs is required for all targets using > standard i386 hardware watchpoints. I don't know; theoretically, GDB should remove all the watchpoints from the debuggee on the way to exit. If all watchpoints are removed, the dr_* variables are cleaned up automatically. But an explicit call to i386_cleanup_dregs when the debuggee dies cannot possibly do any harm, so there should be no reason not to do that, if it is sometimes needed.