From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3209 invoked by alias); 14 Nov 2005 14:45:48 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 3129 invoked by uid 22791); 14 Nov 2005 14:45:43 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 14 Nov 2005 14:45:43 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EbfaW-00060e-U9; Mon, 14 Nov 2005 09:45:41 -0500 Date: Mon, 14 Nov 2005 14:45:00 -0000 From: Daniel Jacobowitz To: Vladimir Prus , Eli Zaretskii , gdb@sources.redhat.com Subject: Re: read watchpoints ignored? Message-ID: <20051114144540.GA23076@nevyn.them.org> Mail-Followup-To: Vladimir Prus , Eli Zaretskii , gdb@sources.redhat.com References: <20051113164546.GA465@nevyn.them.org> <20051114024345.GB10567@nevyn.them.org> <20051114144244.GB22190@nevyn.them.org> <200511111622.01337.ghost@cs.msu.su> <20051114024345.GB10567@nevyn.them.org> <200511141310.38302.ghost@cs.msu.su> <20051114144118.GA22190@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051114144244.GB22190@nevyn.them.org> <20051114144118.GA22190@nevyn.them.org> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-11/txt/msg00270.txt.bz2 On Mon, Nov 14, 2005 at 09:41:18AM -0500, Daniel Jacobowitz wrote: > Could you give this patch a try? It will need some tweaking to build > for any native target but i386 but i386 native and remote should work. > And I've tested that it fixes the bug for i386 native. and On Mon, Nov 14, 2005 at 09:42:44AM -0500, Daniel Jacobowitz wrote: > I'm not sure if we can call watchpoint_check when not checking bpstats; > too much context. In any case, for now we only need to fix one of the > two bugs; what do you think of the patch I just posted? Sorry folks, too early on Monday morning, don't know what I was thinking. It does _not_ fix the bug for i386 native, it simply fails to break the existing read watchpoint support. We need to fix both bugs. -- Daniel Jacobowitz CodeSourcery, LLC