From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4230 invoked by alias); 12 Jul 2005 14:07:26 -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 3971 invoked by uid 22791); 12 Jul 2005 14:07:07 -0000 Received: from host217-40-213-68.in-addr.btopenworld.com (HELO SERRANO.CAM.ARTIMI.COM) (217.40.213.68) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 12 Jul 2005 14:07:07 +0000 Received: from mace ([192.168.1.25]) by SERRANO.CAM.ARTIMI.COM with Microsoft SMTPSVC(6.0.3790.211); Tue, 12 Jul 2005 15:06:04 +0100 From: "Dave Korn" To: "'Nick Roberts'" , "'Bob Rossi'" Cc: Subject: RE: show inferior-tty Date: Tue, 12 Jul 2005 14:07:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <17107.50989.663448.715936@farnswood.snap.net.nz> Message-ID: X-SW-Source: 2005-07/txt/msg00136.txt.bz2 ----Original Message---- >From: Nick Roberts >Sent: 12 July 2005 14:36 > > > 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. It's not an entirely dumb suggestion. It's a clumsy piece of wording and could do with being improved. And since "program being debugged" == "inferior", I'd think the best choice of wording would be ... > (gdb) help tty > Set terminal for future runs of inferior. cheers, DaveK -- Can't think of a witty .sigline today....