This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Variables created with -var-create going out of scope unexpectedly?
Hi Volodya,
On Thu, Nov 20, 2008 at 8:59 AM, Vladimir Prus
<vladimir@codesourcery.com> 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.