From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13221 invoked by alias); 4 Mar 2005 00:46:56 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13193 invoked from network); 4 Mar 2005 00:46:50 -0000 Received: from unknown (HELO mta1.srv.hcvlny.cv.net) (167.206.4.196) by sourceware.org with SMTP; 4 Mar 2005 00:46:50 -0000 Received: from nimble.325Bayport (ool-18b87d16.dyn.optonline.net [24.184.125.22]) by mta1.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0ICS0010RY5ZCP@mta1.srv.hcvlny.cv.net> for gdb@sources.redhat.com; Thu, 03 Mar 2005 19:46:47 -0500 (EST) Date: Fri, 04 Mar 2005 00:46:00 -0000 From: Nick NoSpam Subject: Re: MI - Have GDB put pty between it and inferior In-reply-to: <20050303143758.GC32613@white> To: Bob Rossi Cc: GDB Message-id: <1109897206.20766.11.camel@nimble.325Bayport> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT References: <20050303143758.GC32613@white> X-SW-Source: 2005-03/txt/msg00028.txt.bz2 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