This is the mail archive of the gdb@sources.redhat.com 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: separating gdb & inferior output


> 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'?


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