Re: Variable objects and STL containers

Daniel Jacobowitz
2008-02-11T13:07:00Z

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,
too...

--
Daniel Jacobowitz
CodeSourcery