From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96168 invoked by alias); 2 Aug 2016 14:49:35 -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 96155 invoked by uid 89); 2 Aug 2016 14:49:35 -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,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=HReply-to:D*org, Simon 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 (AES256-SHA encrypted) ESMTPS; Tue, 02 Aug 2016 14:49:24 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUb0Q-0007PA-Lc for gdb-patches@sourceware.org; Tue, 02 Aug 2016 10:49:23 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUb0Q-0007P1-If; Tue, 02 Aug 2016 10:49:18 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2454 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bUb0P-0007iP-La; Tue, 02 Aug 2016 10:49:18 -0400 Date: Tue, 02 Aug 2016 14:49:00 -0000 Message-Id: <83y44fmdjz.fsf@gnu.org> From: Eli Zaretskii To: Simon Marchi CC: gdb-patches@sourceware.org In-reply-to: <20160801211401.18155-3-simon.marchi@ericsson.com> (message from Simon Marchi on Mon, 1 Aug 2016 17:14:01 -0400) Subject: Re: [PATCH 2/2] mi: Add =?utf-8?Q?launch-type=3D{run=2Cattach}?= =?utf-8?Q?=C2=A0in?= =thread-group-started Reply-to: Eli Zaretskii References: <20160801211401.18155-1-simon.marchi@ericsson.com> <20160801211401.18155-3-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/msg00030.txt.bz2 > From: Simon Marchi > CC: Simon Marchi > Date: Mon, 1 Aug 2016 17:14:01 -0400 > > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -26437,12 +26437,14 @@ group is added, it generally might not be associated with a running > process. When a thread group is removed, its id becomes invalid and > cannot be used in any way. > > -@item =thread-group-started,id="@var{id}",pid="@var{pid}" > +@item =thread-group-started,id="@var{id}",pid="@var{pid}",launch-type="@var{launch-type}" > A thread group became associated with a running program, > either because the program was just started or the thread group > was attached to a program. The @var{id} field contains the > @value{GDBN} identifier of the thread group. The @var{pid} field > -contains process identifier, specific to the operating system. > +contains process identifier, specific to the operating system. The > +@var{launch-type} field has the value @code{"run"} if the program was started > +by gdb and @code{"attach"} if it was attached. ^^^ @value{GDBN} Also, @code{"foo"} looks bad in Info due to too many quotes. Suggest to use just @code{foo} instead. The documentation parts are okay with these fixed. Thanks.