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: controlling gdb via python's pexpect




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.


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