Re: MI testsuite to use PTY for inferior

Bob Rossi
2005-08-01T02:05:41Z

> > > - Remote targets that provide output currently aren't redirected onto
> > > the PTY; instead they'll appear interleaved, just like before.
> >
> > In this scenario, I'm guessing from the sound of it that GDB just hasn't
> > added support for this yet. So it's a GDB bug, right? I could look into
> > this if I had some direction.
>
> I don't know. What do you want it to do? GDB to set up a fake
> terminal and push output to it? Might make sense, might not, haven't
> thought about it.

Why doesn't GDB open a pty and simply give the FE the name of the device
it can read the inferior I/O from? This would simplify a lot of things.

Although, it still would not work nativly on Windows. However, if GDB
doesn't support inferior I/O on the host, it wouldn't be expected to
when using the remote target. The only difference is that only a Cygwin
port of GDB to windows would be able to support this feature, not a
Windows's part of GDB.

Thanks,
Bob Rossi