Newer versions of GDB support the fairly printable API from Python. This allows applications to provide Python code to customize some aspects of the display of objects. This code is designed to work with both the CLI ("print" on the gdb command line) and MI (an interface that uses the GUI, or at least should use).
New versions of GCC supply Python pretty-printers for all important data structures in libstdc ++.
The final step is to get the new version of nemiver. I think 0.9.2 has this feature.
Many gdb and gcc distributions are configured so that cute printers are automatically activated if your program uses libstdc ++. So maybe just upgrading a nemiver would be enough for you. Otherwise, there are many documents online on how to set this up.
source share