This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: MI testsuite to use PTY for inferior
- From: Bob Rossi <bob at brasko dot net>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 31 Jul 2005 22:05:25 -0400
- Subject: Re: MI testsuite to use PTY for inferior
- References: <17131.5769.342629.658975@farnswood.snap.net.nz> <20050730173855.GA21401@white> <17131.64575.780190.163527@farnswood.snap.net.nz> <20050730230309.GA22547@white> <20050731012111.GB13808@nevyn.them.org> <20050731131653.GC22547@white> <20050731153051.GA28158@nevyn.them.org> <20050731212021.GA24144@white> <20050801015330.GE30901@nevyn.them.org>
> > > - 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