this is a site page for GDB STL Support Tools :http://sourceware.org/gdb/wiki/STLSupport
in the page we can get the gdb macros stuff to support stl container :http://www.yolinux.com/TUTORIALS/src/dbinit_stl_views-1.03.txt
this is the page for gdb define command detail.:http://www.delorie.com/gnu/docs/gdb/gdb_189.html
here is a tutorial for this stuff :http://www.yolinux.com/TUTORIALS/GDB-Commands.html#STLDEREF
how to use this stuff:
This file should be "included" in .gdbinit as following:
source stl-views.gdb or just paste it into your .gdbinit file
good job!!