From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3183 invoked by alias); 24 Aug 2016 15:05:39 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 3172 invoked by uid 89); 24 Aug 2016 15:05:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 24 Aug 2016 15:05:28 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcZk2-0007cC-ET for gdb-patches@sourceware.org; Wed, 24 Aug 2016 11:05:26 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcZk2-0007bk-C3; Wed, 24 Aug 2016 11:05:22 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2740 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bcZk0-0006MG-Mb; Wed, 24 Aug 2016 11:05:21 -0400 Date: Wed, 24 Aug 2016 15:05:00 -0000 Message-Id: <83y43mdx6m.fsf@gnu.org> From: Eli Zaretskii To: Simon Marchi CC: gdb-patches@sourceware.org In-reply-to: <20160824144548.19204-1-simon.marchi@ericsson.com> (message from Simon Marchi on Wed, 24 Aug 2016 10:45:48 -0400) Subject: Re: [PATCH] Allow resetting an empty inferior-tty Reply-to: Eli Zaretskii References: <20160824144548.19204-1-simon.marchi@ericsson.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00243.txt.bz2 > From: Simon Marchi > CC: Simon Marchi > Date: Wed, 24 Aug 2016 10:45:48 -0400 > > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > index f5dde61..f00729a 100644 > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -2499,9 +2499,11 @@ display the name of the terminal that will be used for future runs of your > program. > > @table @code > -@item set inferior-tty /dev/ttyb > +@item set inferior-tty @var{tty} > @kindex set inferior-tty > -Set the tty for the program being debugged to /dev/ttyb. > +Set the tty for the program being debugged to @var{tty}. Omitting @var{tty} > +restores the default behavior, which is to use the same terminal as > +@value{GDBN}. Thanks. If the argument is optional, please show it as such, as we do elsewhere in the manual. OK with this nit fixed. P.S. Btw, it is strange that your log entry says gdb/doc/ChangeLog: * gdb.texinfo (Your Program’s Input and Output): Mention possibility to unset inferior-tty. whereas the node's name is "Input/Output", and the section's name is "Your Program's Input and Output", without any non-ASCII characters. What happened there?