From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 815 invoked by alias); 14 May 2014 02:51:49 -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 795 invoked by uid 89); 14 May 2014 02:51:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout26.012.net.il Received: from mtaout26.012.net.il (HELO mtaout26.012.net.il) (80.179.55.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 May 2014 02:51:47 +0000 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0N5J00L00MEGKT00@mtaout26.012.net.il> for gdb-patches@sourceware.org; Wed, 14 May 2014 05:48:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N5J00CVJMH9XS70@mtaout26.012.net.il>; Wed, 14 May 2014 05:48:45 +0300 (IDT) Date: Wed, 14 May 2014 02:51:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH v5] Exit code of exited inferiors in -list-thread-groups In-reply-to: <1400018204-29559-1-git-send-email-simon.marchi@ericsson.com> To: Simon Marchi Cc: gdb-patches@sourceware.org, simon.marchi@ericsson.com Reply-to: Eli Zaretskii Message-id: <8361l9oyx0.fsf@gnu.org> References: <1400018204-29559-1-git-send-email-simon.marchi@ericsson.com> X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00188.txt.bz2 > From: Simon Marchi > CC: Simon Marchi > Date: Tue, 13 May 2014 17:56:44 -0400 > > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -108,6 +108,11 @@ PowerPC64 GNU/Linux little-endian powerpc64le-*-linux* > and "assf"), have been deprecated. Use the "sharedlibrary" command, or > its alias "share", instead. > > +* MI changes > + > + ** The -list-thread-groups command outputs an exit-code field for > + inferiors that have exited. > + > *** Changes in GDB 7.7 This part is OK. > +@item exit-code > +The exit code of this thread group when it last exited. This field is > +only present for thread groups of type @samp{process} and only if the > +process is not running. This is backwards, and the 1st sentence is confusing until you read the second one. I suggest to reword like this: If this thread group is a @samp{process} that exited, this field is the exit code of that inferior process. Otherwise, the field is not present. The documentation part is OK with this change.