From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30662 invoked by alias); 20 Nov 2008 14:33:18 -0000 Received: (qmail 30581 invoked by uid 22791); 20 Nov 2008 14:33:18 -0000 X-Spam-Check-By: sourceware.org Received: from rv-out-0708.google.com (HELO rv-out-0708.google.com) (209.85.198.244) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 20 Nov 2008 14:32:23 +0000 Received: by rv-out-0708.google.com with SMTP id f25so483365rvb.50 for ; Thu, 20 Nov 2008 06:32:21 -0800 (PST) Received: by 10.140.247.13 with SMTP id u13mr1245801rvh.288.1227191541610; Thu, 20 Nov 2008 06:32:21 -0800 (PST) Received: by 10.141.198.17 with HTTP; Thu, 20 Nov 2008 06:32:21 -0800 (PST) Message-ID: Date: Thu, 20 Nov 2008 14:33:00 -0000 From: "Srinath Avadhanula" To: "Vladimir Prus" Subject: Re: Variables created with -var-create going out of scope unexpectedly? Cc: gdb@sources.redhat.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: 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: 2008-11/txt/msg00127.txt.bz2 Hi Volodya, On Thu, Nov 20, 2008 at 8:59 AM, Vladimir Prus wrote: >> first time the breakpoint is hit and then do "-var-update 1 *" each >> subsequent time the break-point is hit, I only see 'in_scope="true"' >> the two times when foo() is reached with exactly the same stack. Is >> this expected? Is there an equivalent of gdb's "display" command for >> GDB/MI? > > GDB/MI documentation in CVS HEAD describes this. > Thanks for the info! Sorry for my ignorance, but I cannot seem to figure out how to get the CVS HEAD of the GDB/MI documentation. Could you please point me to it? I tried downloading a few things from the GDB web-site, but couldn't figure out the latest version... Also, if http://sourceware.org/gdb/onlinedocs/gdb_25.html#SEC413 is the latest version, it doesn't seem to make any special mention of -var-create with respect to going out of scope... Regards, Srinath PS: Sorry Volodya for the extra email. I forgot to email the group last time.