From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20502 invoked by alias); 1 Jun 2007 09:17:53 -0000 Received: (qmail 20487 invoked by uid 22791); 1 Jun 2007 09:17:53 -0000 X-Spam-Check-By: sourceware.org Received: from zigzag.lvk.cs.msu.su (HELO zigzag.lvk.cs.msu.su) (158.250.17.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Jun 2007 09:17:46 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1Hu3GQ-0003p6-8i for gdb@sources.redhat.com; Fri, 01 Jun 2007 13:17:42 +0400 Received: from localhost ([127.0.0.1] helo=ip6-localhost) by zigzag.lvk.cs.msu.su with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1Hu3GO-0003ot-89; Fri, 01 Jun 2007 13:17:40 +0400 From: Vladimir Prus To: Bogdan Slusarczyk Subject: Re: tracing variables - is it ok? Date: Fri, 01 Jun 2007 09:17:00 -0000 User-Agent: KMail/1.9.1 Cc: gdb@sources.redhat.com References: <465FD1AD.9040909@op.pl> <465FE337.9020704@op.pl> In-Reply-To: <465FE337.9020704@op.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706011317.39198.ghost@cs.msu.su> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00004.txt.bz2 On Friday 01 June 2007 13:13, Bogdan Slusarczyk wrote: > Vladimir Prus pisze: > > This seems weird. Can you also print 'a' right after creating varobj, > > and right after -var-update, to make sure it's the problem with > > variable objects, and not with something else. Please do this test with > > gdb 6.6, or better yet, with CVS version. > I did -var-evaluate-expression just after creating varobj and I got > proper value (testA, a=10 ). After -var-update (in testB) value is not > changed. I did this test with gdb 6.6. Please do "print a". The -var-evaluate-expression won't show changed value if -var-update did not mention a given variable object. - Volodya