Re: MI testsuite to use PTY for inferior

Eli Zaretskii
2005-08-01T18:45:27Z

> Date: Mon, 1 Aug 2005 07:30:02 -0400
> From: Bob Rossi <bob@brasko.net>
> Cc: gdb-patches@sources.redhat.com
>
> I am claiming that a reliable FE can not be written if the inferior writes
> data to the same output stream as GDB/MI's output stream. So, on native
> windows, if the inferior I/O and GDB/MI I/O can not be separated, it
> wouldn't be worth while to write an FE on that platform.

IMHO, you are again jumping to conclusions. The problem was that
Windows doesn't support PTYs, not that it's impossible to separate the
two output streams there.

> Nick, does Emacs port natively to windows?

Of course, it does. I'm writing this mail in such a port ;-)

> Are there any other routes to go down here?

(Shrug) What about redirecting one of the streams to another file
handle? I think any modern platform will support this. We could, for
example, make this an option (it could be on by default if PTYs aren't
supported).

In fact, doesn't GDB already use a different standard output stream?
I thought it did.