in reply to how to write a program to control gdb

I have two words for you: use Expect. Look at Expect module, and I'm willing to bet you will find it much easier to use than open2.

Replies are listed 'Best First'.
Re: Re: how to write a program to control gdb
by seanborland (Initiate) on Mar 01, 2004 at 01:17 UTC
    thank you very much