This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]