From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23080 invoked by alias); 5 Jun 2003 17:48:57 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23052 invoked from network); 5 Jun 2003 17:48:56 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.131) by sources.redhat.com with SMTP; 5 Jun 2003 17:48:56 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 01C792B2F; Thu, 5 Jun 2003 13:48:45 -0400 (EDT) Message-ID: <3EDF827D.6090201@redhat.com> Date: Thu, 05 Jun 2003 17:48:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: Use of lval_register? References: <3EDF5520.8030009@redhat.com> <20030605151750.GA25587@nevyn.them.org> <3EDF66A8.4030003@redhat.com> <20030605155851.GA28099@nevyn.them.org> <3EDF6C02.90807@redhat.com> <20030605162338.GB30522@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00074.txt.bz2 >> >I think it should update the cached copy. I'm not so sure it should >> >update the in-memory copy, if the var has moved. That would require >> >re-evaluating the expression that produced $1 wouldn't it? > >> >> Eventually. For the moment I'm just worred about getting it to >> re-evaluate the registers the value is assumed to reside in. >> >> Or should it only modify the history pool (modifying memory is weird >> here, but where to draw the line is also weird). > > > After some more thought, I suppose it should modify both the pool and > memory. It's just not clear how to find out where in memory it should > be, now... Or just modify the pool? varobj provides a mechanism for modifying / tracking values in the target. Andrew