This is the mail archive of the gdb@sources.redhat.com 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]

Examining STL constructs in GDB


Hello,
I was wondering if anybody knows how to display STL container classes in GDB?

I can use indexing for vector elements e.g. (print Vec[0]) and observe the 
value of vector elements but I wonder whether if there is a way to show the 
vector content all at the same time. 

Thank you
S.E. 


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