Use GDB to debug STL in C++
1. Compile use -g flag
g++ -g -gstabs+ a.cpp -o a # -gstabs+ is useful when some symbols in the .cpp are optimized
2. Add .gdbinit
Copy the file into ~/.gdbinit
Existing bug: pmap Does not work correctly on Ubuntu-x64