Re: Variable objects and STL containers

Vladimir Prus
2008-02-08T06:47:11Z

On Friday 08 February 2008 03:52:45 you wrote:
> > We discussed using Python scripting for that; in fact, I have a patch locally
> > that will make
> >
> > -var-evaluate-expression V
> >
> > for a vector print something like:
> >
> > [1,2,3]
> >
> > I'm working on making those element the children of the variable object,
> > but it's not done yet.
>
> What will you do when the number of elements increases/decreases. Will
> Gdb create/delete variable objects for these children automatically?

I anticipate that -var-update will:

1. Create new children, and report them.
2. Report children that are now gone, possibly deleting them.

- Volodya