This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: MI - Have GDB put pty between it and inferior
- From: Nick NoSpam <nicknospam at optonline dot net>
- To: Bob Rossi <bob at brasko dot net>
- Cc: GDB <gdb at sources dot redhat dot com>
- Date: Thu, 03 Mar 2005 19:46:46 -0500
- Subject: Re: MI - Have GDB put pty between it and inferior
- References: <20050303143758.GC32613@white>
Take a look at PR 1654.
On Thu, 2005-03-03 at 09:37 -0500, Bob Rossi wrote:
> Hi,
>
> I just had an idea that I got from this Email,
> http://sources.redhat.com/ml/gdb/2005-03/msg00023.html
>
> When GDB is in MI mode, why couldn't it put a pty between the inferior
> and itself. If this happened, it would be possible to direct the output
> of the inferior throught the target stream. Also, it would be possible
> for the front end to send intput to the inferior through an MI command.
>
> Is there any reason this is not a good idea? I'd be happy to look into
> implenting the process, although, creating the pty would be the most
> difficult part since it is highly unportable.
>
> Thanks,
> Bob Rossi
--
Regards,
Nick Gianakas
gianakas@optonline.net