From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26327 invoked by alias); 1 Jun 2007 09:28:55 -0000 Received: (qmail 26319 invoked by uid 22791); 1 Jun 2007 09:28:54 -0000 X-Spam-Check-By: sourceware.org Received: from smtp20.poczta.onet.pl (HELO smtp20.poczta.onet.pl) (213.180.130.91) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Jun 2007 09:28:52 +0000 Received: from static-62-233-152-148.devs.futuro.pl ([62.233.152.148]:54535 "EHLO [10.0.0.72]") by ps20.test.onet.pl with ESMTP id (ORCPT ); Fri, 1 Jun 2007 11:28:43 +0200 Message-ID: <465FE6CB.10002@op.pl> Date: Fri, 01 Jun 2007 09:28:00 -0000 From: Bogdan Slusarczyk User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Vladimir Prus CC: gdb@sourceware.org Subject: Re: tracing variables - is it ok? References: <465FD1AD.9040909@op.pl> <465FE337.9020704@op.pl> <200706011317.39198.ghost@cs.msu.su> In-Reply-To: <200706011317.39198.ghost@cs.msu.su> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00005.txt.bz2 Vladimir Prus pisze: > 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. print 'a' from testA returns 10, from testB returns 20 Bogdan