Problems accessing stl maps under gdb

inovatoor <[email protected]> Mon, 11 May 2009 07:09:08 -0700 (PDT)
Newsgroups gmane.comp.gdb.general
Message-ID <[email protected]>
Hello GDB users,

I tried to access some stl maps in a core file with gdb using this tool:
http://staff.science.uva.nl/~gilad/stl/stl_gdb.html STL Tool 
After compiling and building a symbol file I tried to change the tool to
gain access without any success.
(Used command in gdb to access tree node:
map_name->._M_t._M_header._M_data._M_value_field.first._M_start) 

I thought about iterating over the map with _M_left and _M_right, but it did
not work.

Maybe anybody could help me, or have any idea about what to do.

Thanks in anticipation.

Toby
-- 
View this message in context: http://www.nabble.com/Problems-accessing-stl-maps-under-gdb-tp23484036p23484036.html
Sent from the Gnu - gdb - General mailing list archive at Nabble.com.