custom runtime GDB extensions

Tom Tromey tromey@redhat.com
Tue Oct 23 20:28:00 GMT 2012


Bruce> I'd have to learn Python or one of the other viable choices.

Yes.

Bruce> I am looking for/hoping for a nice, simple cookbook solution that
Bruce> doesn't involve learning how to set up Python or swig interfaces,
Bruce> rebuilding gdb with python hooks and gluing together all the pieces.
Bruce> Something simple.

Sorry, that doesn't exist.

Bruce> A pointer to a cook book would be really helpful. Thank you so much!

ctypes tutorial: http://python.net/crew/theller/ctypes/tutorial.html

Somewhat out of date but still generally useful gdb-python walk-through:
http://sourceware.org/gdb/wiki/PythonGdbTutorial

Tom



More information about the Gdb mailing list