From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18070 invoked by alias); 4 Dec 2007 14:07:34 -0000 Received: (qmail 17934 invoked by uid 22791); 4 Dec 2007 14:07:33 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Dec 2007 14:07:27 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id C89BA9833F; Tue, 4 Dec 2007 14:07:25 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 90F1C98100; Tue, 4 Dec 2007 14:07:23 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1IzYQk-00006w-Qh; Tue, 04 Dec 2007 09:07:22 -0500 Date: Tue, 04 Dec 2007 14:07:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: Vladimir Prus , gdb@sources.redhat.com Subject: Re: Watchpoints with condition Message-ID: <20071204140722.GA391@caradoc.them.org> Mail-Followup-To: Michael Snyder , Vladimir Prus , gdb@sources.redhat.com References: <200711301925.20196.vladimir@codesourcery.com> <1196733050.2501.200.camel@localhost.localdomain> <200712041025.15416.vladimir@codesourcery.com> <1196764468.2501.277.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1196764468.2501.277.camel@localhost.localdomain> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-12/txt/msg00023.txt.bz2 On Tue, Dec 04, 2007 at 02:34:28AM -0800, Michael Snyder wrote: > My understanding (and I may be wrong) is that the conditional > is not evaluated until the breakpoint is hit. Is it different > for a watchpoint? Ah, wait, I think I see -- it's different > for a SOFTWARE watchpoint, isn't it? Shouldn't be, I don't think. The watched value will be evaluated every time, but the condition shouldn't be unless the watched value changes. -- Daniel Jacobowitz CodeSourcery