controlling gdb via python's pexpect
fpga
mgbg25171@blueyonder.co.uk
Fri Nov 6 10:23:00 GMT 2009
fpga wrote:
>
> Can someone please give me an example of how this is done.
> I'm afraid the documentation is not helping me.
> Thx
>
Thx George
You've got further than I have!
I tried to use subprocess before trying pexpect but failed.
pexpect was suggested by experts on the python forum.
Unfortuntely they seem unable to correct my trivial example of opening a
terminal and sending 'gdb' to it.
Therefore any working snippets would be 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.
More information about the Gdb
mailing list