From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15088 invoked by alias); 12 Jul 2005 13:34:40 -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 15030 invoked by uid 22791); 12 Jul 2005 13:34:29 -0000 Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 12 Jul 2005 13:34:29 +0000 Received: from farnswood.snap.net.nz (p125-tnt2.snap.net.nz [202.124.108.125]) by viper.snap.net.nz (Postfix) with ESMTP id 6E9205E4893; Wed, 13 Jul 2005 01:34:25 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 507FE62A99; Tue, 12 Jul 2005 14:35:42 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17107.50989.663448.715936@farnswood.snap.net.nz> Date: Tue, 12 Jul 2005 13:34:00 -0000 To: Bob Rossi Cc: gdb@sources.redhat.com Subject: Re: show inferior-tty In-Reply-To: <20050712114123.GB1211@white> References: <17105.54757.46681.109597@farnswood.snap.net.nz> <20050711033228.GB27734@white> <17107.9757.580362.912687@farnswood.snap.net.nz> <20050712114123.GB1211@white> X-SW-Source: 2005-07/txt/msg00134.txt.bz2 > > What has worked like this for years? "show inferior-tty" is new isn't it? > > Sorry for the lack of information. The "inferior-tty" is simply a better > "tty" command. The tty command has had this documentation, > (gdb) help tty > Set terminal for future runs of program being debugged. > > > The phrase "of program being debugged" seems redundant to me (what other > > possibilities are there?). It might be even more clear to say: > > > > Default terminal for future runs is "/dev/pts/1". > > > > since the redirection overrides this. > > I like your suggestion. There is still 1 ambiguity though. Is the "Default > terminal for future runs" for GDB's I/O? or for the inferior's I/O? I think > this question is why the phrase "program being debugged" is used. I guess thats the reason for "of program being debugged" and explains why it was a dumb suggestion. Default terminal for future runs of program being debugged is "/dev/pts/1".? Default terminal for program I/O for future runs is "/dev/pts/1".? ...pitifully trying to salvage something. Nick