From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2422 invoked by alias); 10 Jul 2007 01:45:06 -0000 Received: (qmail 2411 invoked by uid 22791); 10 Jul 2007 01:45:06 -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, 10 Jul 2007 01:45:04 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 6AAB09829E; Tue, 10 Jul 2007 01:45:03 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id A61FD9817C; Tue, 10 Jul 2007 01:45:02 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I84mi-0002UD-Of; Mon, 09 Jul 2007 21:45:00 -0400 Date: Tue, 10 Jul 2007 01:45:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: gdb-patches@sourceware.org Subject: Re: [MI] lvalues and variable_editable Message-ID: <20070710014500.GB9261@caradoc.them.org> Mail-Followup-To: Nick Roberts , gdb-patches@sourceware.org References: <18048.64048.398970.186217@kahikatea.snap.net.nz> <20070703161533.GF2868@caradoc.them.org> <18059.3627.269075.427280@kahikatea.snap.net.nz> <18059.4081.679819.107248@kahikatea.snap.net.nz> <20070704031408.GA25672@caradoc.them.org> <18059.5491.279643.514165@kahikatea.snap.net.nz> <18065.52462.459675.416595@kahikatea.snap.net.nz> <20070709120452.GA4011@caradoc.them.org> <18066.11299.571385.305234@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18066.11299.571385.305234@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00160.txt.bz2 On Tue, Jul 10, 2007 at 12:37:55AM +1200, Nick Roberts wrote: > Taking my earlier example: > > -var-create - * "i1 + i2" > > As it's not an lvalue it's not editable (variable_editable_p returns 0) > but it's value can surely change (variable_changeable_p returns 1). So GDB > has to check for this and report any change when -var-update is issued. Yeah, I see. Thanks. -- Daniel Jacobowitz CodeSourcery