From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14830 invoked by alias); 12 Jul 2005 02:07:13 -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 14288 invoked by uid 22791); 12 Jul 2005 02:07:09 -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 02:07:09 +0000 Received: from farnswood.snap.net.nz (p79-tnt2.snap.net.nz [202.124.108.79]) by viper.snap.net.nz (Postfix) with ESMTP id 32B555501FA; Tue, 12 Jul 2005 14:07:06 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 4D4C662A99; Tue, 12 Jul 2005 03:08:30 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17107.9757.580362.912687@farnswood.snap.net.nz> Date: Tue, 12 Jul 2005 02:07:00 -0000 To: Bob Rossi Cc: gdb@sources.redhat.com Subject: Re: show inferior-tty In-Reply-To: <20050711033228.GB27734@white> References: <17105.54757.46681.109597@farnswood.snap.net.nz> <20050711033228.GB27734@white> X-SW-Source: 2005-07/txt/msg00132.txt.bz2 > > Secondly, if I don't set the tty, I get: > > > > (gdb) show inferior-tty > > Terminal for future runs of program being debugged is "". > > > > I think that it should still display a value. Also perhaps it could just > > say e.g > > > > Terminal for future runs is "/dev/pts/1". > > Well, I think this is just preference. GDB has worked like this for > years. I don't mind it the way it is, but if others want it changed, > that's fine too. What has worked like this for years? "show inferior-tty" is new isn't it? 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. Nick