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


 > 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?  Or
will the frontend be prompted?

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