This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: custom runtime GDB extensions


Hi Tom,

On Tue, Oct 23, 2012 at 1:28 PM, Tom Tromey <tromey@redhat.com> wrote:
> 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

THAT'S THE TICKET!  Thank you again.  Once I've jiggered up a way
to readily load a .so and invoke a function from it, I'll post it so the next
guy might find the thing with Google.  Meanwhile, cajoling the distributions
to enable python extensions by default would be a good thing to do.
(Or just do it by default and require a --disable-python option instead....)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]