From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9890 invoked by alias); 30 Nov 2001 15:18:50 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9391 invoked from network); 30 Nov 2001 15:17:20 -0000 Received: from unknown (HELO cerbere.u-strasbg.fr) (130.79.112.7) by hostedprojects.ges.redhat.com with SMTP; 30 Nov 2001 15:17:20 -0000 Received: from laocoon (laocoon.u-strasbg.fr [130.79.112.72]) by cerbere.u-strasbg.fr (8.9.3/8.8.7) with ESMTP id QAA10530; Fri, 30 Nov 2001 16:17:09 +0100 Message-ID: <4.2.0.58.20011130161336.01698ae8@ics.u-strasbg.fr> X-Sender: muller@ics.u-strasbg.fr X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Wed, 21 Nov 2001 16:19:00 -0000 To: Eli Zaretskii From: Pierre Muller Subject: Re: Bug with watchpoints on Linux Cc: gdb-patches@sources.redhat.com In-Reply-To: <1190-Wed21Nov2001202555+0200-eliz@is.elta.co.il> References: <4.2.0.58.20011121124943.00a4a288@ics.u-strasbg.fr> <4.2.0.58.20011121124943.00a4a288@ics.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-SW-Source: 2001-11/txt/msg00396.txt.bz2 Message-ID: <20011121161900.QipA_NTviGWiX6kjjl3FENuhJMtLkSuc2aLSNthHKhE@z> At 19:25 21/11/2001 , Eli Zaretskii a écrit: > > Date: Wed, 21 Nov 2001 13:01:59 +0100 > > From: Pierre Muller > > > > But at the second run, the program is never stopped because > > of the changes to this global variable. > > > > It seems like there is a problem with the hardware watchpoint > > resetting. > > > > I tested this on only one Linux machine, > > but both the main and the 5.1 branches show this problem. > >The DJGPP port doesn't have this problem. Nevertheless, according to my debug, I expect that most targets using i386 hardware watchpoints and not calling i386_cleanup_dregs will show this problem. I think that this is a really nasty bug for the i386 linux target for 5.1 release.... What do we do about this? I proposed to add a call to i386_cleanup_dregs for all targets using the standard i386 hardware watchpoints, but Eli seems still not convinced by my reports.... Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller@ics.u-strasbg.fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99