This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: custom runtime GDB extensions
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