From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22638 invoked by alias); 22 Oct 2006 22:18:57 -0000 Received: (qmail 22627 invoked by uid 22791); 22 Oct 2006 22:18:56 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 22 Oct 2006 22:18:54 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-212-131.inter.net.il [84.228.212.131]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id EZF31558 (AUTH halo1); Mon, 23 Oct 2006 00:18:50 +0200 (IST) Date: Sun, 22 Oct 2006 22:18:00 -0000 Message-Id: From: Eli Zaretskii To: Robert Dewar CC: rodney.bates@wichita.edu, gdb@sourceware.org In-reply-to: <453B61AD.7030605@adacore.com> (message from Robert Dewar on Sun, 22 Oct 2006 08:18:53 -0400) Subject: Re: breakpoint for accessing memory location Reply-to: Eli Zaretskii References: <4537DBC6.1030807@hccnet.nl> <20061019201214.GA32332@nevyn.them.org> <4537DEDC.5000008@hccnet.nl> <453A3758.5090602@wichita.edu> <20061021155125.GA9177@nevyn.them.org> <20061021223200.GA21012@nevyn.them.org> <20061022042230.GA28995@nevyn.them.org> <453B61AD.7030605@adacore.com> 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/msg00198.txt.bz2 > Date: Sun, 22 Oct 2006 08:18:53 -0400 > From: Robert Dewar > > And it would lead to surprising results, if you watch p-p and p is > out of scope, it would be surprising if it did NOT lead to an error! Strange, I'd actually expect GDB to tell me that "watch p-p" is an invalid command. Something like Warning: attempt to watch constant expression. I guess we have very different notions of what is reasonable in this context.