From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4358 invoked by alias); 1 Jun 2005 13:07:19 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4125 invoked by uid 22791); 1 Jun 2005 13:06:59 -0000 Received: from lakermmtao08.cox.net (HELO lakermmtao08.cox.net) (68.230.240.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 01 Jun 2005 13:06:59 +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 <20050601130652.XCPK18139.lakermmtao08.cox.net@white>; Wed, 1 Jun 2005 09:06:52 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1DdSvt-0004Sm-00; Wed, 01 Jun 2005 09:06:53 -0400 Date: Wed, 01 Jun 2005 13:07:00 -0000 From: Bob Rossi To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: mi tty commands Message-ID: <20050601130653.GA17103@white> Mail-Followup-To: Eli Zaretskii , gdb-patches@sources.redhat.com References: <20050225212201.GA3592@nevyn.them.org> <20050228162003.GA27783@white> <20050302025219.GA29948@white> <20050311022644.GA15563@white> <20050522210040.GB9231@white> <20050528230855.GE22435@nevyn.them.org> <20050529205435.GA11243@white> <20050601001440.GB15414@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-SW-Source: 2005-06/txt/msg00007.txt.bz2 On Wed, Jun 01, 2005 at 07:00:18AM +0300, Eli Zaretskii wrote: > > Date: Tue, 31 May 2005 20:14:40 -0400 > > From: Bob Rossi > > > > > I'm having trouble finding a particular spot in the manual for this > > > command. Do you have any suggestions? > > > > Eli, is the MI doco good enough? or do you want the doco for set/show? > > I want both ;-) OK. I can handle that. > > If you want the set/show doco, please let me know where to put it in the > > manual. > > Very strange: I replied to this question 2 days ago, but I cannot find > my response in the gdb-patches archives. > > Here it is again. Please note the question about the "tty" command. > > > Date: Sun, 29 May 2005 16:54:35 -0400 > > From: Bob Rossi > > Cc: gdb-patches@sources.redhat.com > > > > I'm having trouble finding a particular spot in the manual for this > > command. Do you have any suggestions? > > The node "Input/Output" seems like a perfect place. OK, thanks. > Which reminds me: now that you introduced "set tty", doesn't that mean > we should remove the "tty" command as redundant? I don't think so. Simply because the tty command has been around for ages and FE's depend on it being there. Removing the tty command would successfully break every front end. Then, it would be necessary for FE's to start trying to figure out what version of GDB they are using to determine how to give it a tty. This is a difficult in itself with the MI interface, never mind the CLI. On the other hand, if it is unacceptable to leave both commands in GDB, I could send both commands tty /dev/pts/1 set inferior-tty /dev/pts/1 to GDB and not worry about the results. Thanks, Bob Rossi