From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15848 invoked by alias); 3 Apr 2008 18:10:14 -0000 Received: (qmail 15833 invoked by uid 22791); 3 Apr 2008 18:10:14 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 03 Apr 2008 18:09:56 +0000 Received: (qmail 20937 invoked from network); 3 Apr 2008 18:09:54 -0000 Received: from unknown (HELO localhost) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 3 Apr 2008 18:09:54 -0000 From: Vladimir Prus To: Nick Roberts Subject: Re: -var-update @ Date: Thu, 03 Apr 2008 18:55:00 -0000 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) Cc: gdb-patches@sources.redhat.com References: <200803261754.10513.vladimir@codesourcery.com> <200803290937.57101.vladimir@codesourcery.com> <18415.3808.504498.834488@kahikatea.snap.net.nz> In-Reply-To: <18415.3808.504498.834488@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804032209.53480.vladimir@codesourcery.com> 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: 2008-04/txt/msg00073.txt.bz2 On Sunday 30 March 2008 07:54:08 Nick Roberts wrote: > > So, we still don't know why the current code does not work? I think > > we still get to figure out, to make sure that whatever bug there is > > does not affect other cases. > > My patch didn't do the right thing (it always marked a floating variable > object as changed) but it's along the right lines. How about this one? This patch seem to go in the right direction. I'm somewhat surprised that evaluating previous expression gets bogus value, as opposed to getting value in the frame where varobj was originally created. Any ideas why is that? Do you think you can write some test to go along this patch? Thanks, Volodya