This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: controlling gdb via python's pexpect
- From: fpga <mgbg25171 at blueyonder dot co dot uk>
- To: gdb at sourceware dot org
- Date: Thu, 5 Nov 2009 23:15:03 -0800 (PST)
- Subject: Re: controlling gdb via python's pexpect
- References: <26221261.post@talk.nabble.com>
fpga wrote:
>
> Can someone please give me an example of how this is done.
> I'm afraid the documentation is not helping me.
> Thx
>
George
You've got further than I have!
I tried to use subprocess but failed.
pexpect was suggested by experts on the python forum.
Unfortuntely they appear incapable of correcting my trivial example of
opening a terminal and sending the command 'gdb' to it.
Any snippets most welcome.
Looking at my repositories I see libdevel-gdb-perl.
I like python's orderliness but have noticed that when python fails perl
usually delivers.
--
View this message in context: http://old.nabble.com/controlling-gdb-via-python%27s-pexpect-tp26221261p26227761.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.