This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Variable objects and STL containers
> > 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