Version 2 (modified by ChrisJohns, on Mar 17, 2010 at 7:46:36 AM) (diff)

GDB Python

Recent versions of GDB ship with Python embedded as a scripting language. This was added so GDB could be extended using a fully featured scripting language. The embedding of Python into GDB provided Pretty Printing hooks. Pretty printing allows GDB to be extended to provide human readable output for complex structures. The first use was to hide the C++ STD details. Pretty printing allow us to extend GDB so RTEMS's various data types can be presented in a human readable manner.


The RTEMS Pretty Printer can be downloaded from