From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16159 invoked by alias); 1 Jun 2005 20:25:22 -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 16112 invoked by uid 22791); 1 Jun 2005 20:25:19 -0000 Received: from legolas.inter.net.il (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 01 Jun 2005 20:25:19 +0000 Received: from HOME-C4E4A596F7 (IGLD-83-130-200-249.inter.net.il [83.130.200.249]) by legolas.inter.net.il (MOS 3.5.8-GR) with ESMTP id EMW96913 (AUTH halo1); Wed, 1 Jun 2005 23:25:15 +0300 (IDT) Date: Wed, 01 Jun 2005 20:25:00 -0000 Message-Id: From: Eli Zaretskii To: gdb-patches@sources.redhat.com In-reply-to: <20050601174149.GA17309@white> (message from Bob Rossi on Wed, 1 Jun 2005 13:41:49 -0400) Subject: Re: mi tty commands Reply-to: Eli Zaretskii References: <20050228162003.GA27783@white> <20050302025219.GA29948@white> <20050311022644.GA15563@white> <20050522210040.GB9231@white> <20050528230855.GE22435@nevyn.them.org> <20050529205435.GA11243@white> <20050601001440.GB15414@white> <20050601130653.GA17103@white> <20050601174149.GA17309@white> X-SW-Source: 2005-06/txt/msg00012.txt.bz2 > Date: Wed, 1 Jun 2005 13:41:49 -0400 > From: Bob Rossi > > Here's the whole patch, inlcuding the doco. Thanks. > Index: gdb/doc/ChangeLog > + * gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set. > + (GDB/MI Miscellaneous Commands): Add -inferior-tty-show. > + (Input/Output): Document "set/show inferior-tty". There's no need to mention the same node twice. I suggest to reformat as follows: * gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set. and -inferior-tty-show. (Input/Output): Document "set/show inferior-tty". > RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v > retrieving revision 1.258 > diff -w -u -r1.258 gdb.texinfo > --- gdb/doc/gdb.texinfo 29 May 2005 03:13:18 -0000 1.258 > +++ gdb/doc/gdb.texinfo 1 Jun 2005 17:12:45 -0000 > @@ -2090,6 +2090,22 @@ > command, only the input @emph{for your program} is affected. The input > for @value{GDBN} still comes from your terminal. > > +@vindex inferior-tty Please don't use @vindex for the "set SOMETHING" commands, we don't do that in GDB. @vindex is generally reserved for convenience variables. I suggest to have a "@cindex inferior tty" entry, though. > +@cindex Set the inferior controlling terminal Please remove "the", and please don't start the index entries with a capital letter. The convention in GDB (and the preferred style in any manual) is not to capitalize index entries. > +Yet another way to tell @value{GDBN} where you program should do input > +and output is with the @code{set inferior-tty} command. This is currently > +the same as using the @code{tty} command. If we do what I think we should do, i.e. make "tty" an alias to "set inferior-tty", this paragraph will have to be rewritten.