This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MI floating varobj of invalid value


> From: Vladimir Prus <vladimir@codesourcery.com>
> Date: Sun, 27 Apr 2008 01:27:48 +0400
> 
> However, if frontend tries to create varobj for foo
> at the first stop, and 'foo' is not in scope, then varobj will not be created.

Why is that?  Since a floating varobj's expression is re-parsed every
time, you should be able to delay parsing and not fail creation
because some of its terms are not in scope, right?

> Does making creation of floating varobj always succeed seem a good idea?

Yes, I think so.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]