This is the mail archive of the
mailing list for the GDB project.
Re: Variable objects and STL containers
On Mon, Feb 11, 2008 at 12:11:36PM +0300, Vladimir Prus wrote:
> I think that likewise, -var-update should create varobjs for new children,
> and return them -- we probably need a new attribute to indicate that a varobj
> was just created. This might sound like breaking frontends not prepared to see
> new varobjs in -var-update output. However, this dynamic child behaviour will
> happen only as result of explicit request from frontend. It's natural to
> give frontend a choice between 'raw' representation and 'pretty' representation,
> and for compatibility, it's best to default to 'raw'. And if frontend asks
> gdb to use pretty representation for a varobj, or all varobj of given type,
> we can expect the frontend to property handle auto-created varobjs.
I suggest we wait until you have something implemented, and then see
how various front ends (emacs, kdevelop, Eclipse) react to it. If
they break, we can limit the new behavior to mi3.
I want to finish up the quoting changes I discussed last year for mi3,