From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 595 invoked by alias); 23 Oct 2006 02:03:39 -0000 Received: (qmail 587 invoked by uid 22791); 23 Oct 2006 02:03:39 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 23 Oct 2006 02:03:36 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id 5891248CE35; Sun, 22 Oct 2006 22:03:34 -0400 (EDT) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05107-03-9; Sun, 22 Oct 2006 22:03:33 -0400 (EDT) Received: from [127.0.0.1] (nile.gnat.com [205.232.38.5]) by nile.gnat.com (Postfix) with ESMTP id A7FB948CDDE; Sun, 22 Oct 2006 22:03:33 -0400 (EDT) Message-ID: <453C22FC.5000807@adacore.com> Date: Mon, 23 Oct 2006 02:03:00 -0000 From: Robert Dewar User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Eli Zaretskii , dewar@adacore.com, rodney.bates@wichita.edu, gdb@sourceware.org Subject: Re: breakpoint for accessing memory location References: <20061021155125.GA9177@nevyn.them.org> <20061021223200.GA21012@nevyn.them.org> <20061022042230.GA28995@nevyn.them.org> <453B61AD.7030605@adacore.com> <20061022222142.GA30437@nevyn.them.org> <20061022231847.GA31942@nevyn.them.org> In-Reply-To: <20061022231847.GA31942@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2006-10/txt/msg00208.txt.bz2 Daniel Jacobowitz wrote: > >> Trouble? what trouble? Just sample the value of the expression for >> several random values of the variables, and if the value doesn't >> change, consider it constant. > > Was this sarcasm? If not, please consider "watch p != 42" for a couple > of random values of p. I suspect it was not sarcasm, just an ill-thought out proposal, but your counter-example is VERY nice indeed!