gdb plugin status?

Tom Tromey tromey@redhat.com
Thu Aug 7 18:37:00 GMT 2008


>>>>> "Neo" == Neo Jia <neojia@gmail.com> writes:

Neo> I just build it. Is there any example to use this plugin? Can I source
Neo> in a python script?

There are a couple examples in the gdb or gdb-patches list archives.
Here's one I happen to have right away:

http://sourceware.org/ml/gdb/2008-03/msg00201.html

We do need more examples, and a standard library of scripts.

Neo> BTW, would it be better to change the python prompt to ">>>"?

You mean when entering a multi-line 'python' script?
Either way is fine by me.

Tom



More information about the Gdb mailing list