From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25586 invoked by alias); 30 Jul 2010 08:45:29 -0000 Received: (qmail 25577 invoked by uid 22791); 30 Jul 2010 08:45:28 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Jul 2010 08:45:23 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L6D00K0047ADK00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Fri, 30 Jul 2010 11:44:22 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.19.236]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L6D00IRL49XW540@a-mtaout23.012.net.il>; Fri, 30 Jul 2010 11:44:22 +0300 (IDT) Date: Fri, 30 Jul 2010 08:45:00 -0000 From: Eli Zaretskii Subject: Re: [RFA/RFC/DOC] Fix the different between behavior of "detach inferior" "kill inferior" and doc In-reply-to: To: Hui Zhu Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83y6ctbbpw.fsf@gnu.org> References: X-IsSubscribed: yes 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 X-SW-Source: 2010-07/txt/msg00573.txt.bz2 > From: Hui Zhu > Date: Fri, 30 Jul 2010 16:13:42 +0800 > Cc: Eli Zaretskii > > So I make a patch to update the doc. > > Thanks, > Hui > > 2010-07-30 Hui Zhu > > * gdb.texinfo (Inferiors and Programs): Update the introduce of > "detach inferior" and "kill inferior". > > > --- > doc/gdb.texinfo | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > --- a/doc/gdb.texinfo > +++ b/doc/gdb.texinfo > @@ -2481,12 +2481,12 @@ using the @w{@code{kill inferior}} comma > @kindex detach inferior @var{infno} > @item detach inferior @var{infno} > Detach from the inferior identified by @value{GDBN} inferior number > -@var{infno}, and remove it from the inferior list. > +@var{infno}. > > @kindex kill inferior @var{infno} > @item kill inferior @var{infno} > Kill the inferior identified by @value{GDBN} inferior number > -@var{infno}, and remove it from the inferior list. > +@var{infno}. > @end table Assuming that the code behaves as intended (i.e. this isn't a bug), I suggest the following text instead: Kill the inferior identified by @value{GDBN} inferior number @var{infno}. Note that the inferior's entry still stays on the list of inferiors shown by @code{info inferiors}, but its Description will show @samp{}. and similarly for "detach". Thanks.