debugging programs that use stl containers

Benjamin Kosnik bkoz@redhat.com
Mon Apr 2 15:25:00 GMT 2001


not really. You can do 

(gdb) ptype my_vector

to see what gdb thinks of the type, and

(gdb) p my_vector

to see the internals of the object. This is supposed to work, but in my 
experience is a bit flaky.

-benjamin



More information about the Libstdc++ mailing list