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: gdb plugin status?


>>>>> "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


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