Re: Variable objects and STL containers

Nick Roberts
2008-02-10T04:28:23Z

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

That sounds sensible. Discussion on the gcc mailing list suggested that this
should all be done in GDB, i.e., in C. I will explore that possibility.

--
Nick http://www.inet.net.nz/~nickrob