in reply to Using Perl to automate GDB

> send input commands to GDB read the output GDB ...

You are talking about the GNU Debugger right?

Such tools have an interface to be remote controlled by GUIs or IDEs like emacs.

I'd rather try to find out about this than redirecting STDOUT and STDIN manually.

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)