separating gdb & inferior output

Eli Zaretskii eliz@gnu.org
Tue Aug 24 19:05:00 GMT 2004


> Date: Tue, 24 Aug 2004 12:11:47 -0400
> From: Bob Rossi <bob@brasko.net>
> 
> I have the feeling the tty command does not port properly everywhere
> that GDB does (mingw, cygwin). I've personally had problems with it on
> some version of Windows with cygwin. Besides, figuring out how to open a
> tty on different machines is a real pain.
> 
> Is there a better, more portable way, to accomplish the same task?

What can be more portable than file descriptor redirection?  Even
MS-DOS supports it.

> I was thinking of having GDB output it's output to a UNIX or TCP/IP
> port. How about a FIFO(portable?)? Any other ideas? 

Both are less portable than redirection, IMHO.  FIFOs are
Unix-specific, and ports will not work on a system without a network
interface.

Perhaps you could state what are the problems with `tty'?



More information about the Gdb mailing list