What are some of your favorite tricks to debug C++ programs with gdb ?
Interested in all tricks but also
how you call methods (which may be virtual) on objects from within gdb
inspecting STL objects (pretty printing them)
preventing gdb from going into STL code with continue
dealing with inlining, threads, tcmalloc (or custom allocators)
Keeping history of gdb commands across different sessions