Tom Tromey wrote a PythonGdb tutorial which helps make the official Python binding docs much more accessible: Installing a Python-enabled debugger We’ll start at the very beginning: checking it out, building it, and then “hello, world”. Writing a new gdb command I'll show you how to implement a new command to save breakpoints to a file. gdb convenience functions Now we’ll see how to write new func