From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20154 invoked by alias); 3 Mar 2005 14:38:08 -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 20083 invoked from network); 3 Mar 2005 14:37:56 -0000 Received: from unknown (HELO lakermmtao08.cox.net) (68.230.240.31) by sourceware.org with SMTP; 3 Mar 2005 14:37:56 -0000 Received: from white ([68.9.64.121]) by lakermmtao08.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050303143756.YTBL18351.lakermmtao08.cox.net@white> for ; Thu, 3 Mar 2005 09:37:56 -0500 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1D6rSg-0008WF-00 for ; Thu, 03 Mar 2005 09:37:58 -0500 Date: Thu, 03 Mar 2005 14:38:00 -0000 From: Bob Rossi To: GDB Subject: MI - Have GDB put pty between it and inferior Message-ID: <20050303143758.GC32613@white> Mail-Followup-To: GDB Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-SW-Source: 2005-03/txt/msg00024.txt.bz2 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