From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102067 invoked by alias); 14 Jan 2016 16:16:54 -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 102056 invoked by uid 89); 14 Jan 2016 16:16:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Received-From:134, HX-Received-From:4830, HX-Received-From:2001, HX-HELO:eggs.gnu.org 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; Thu, 14 Jan 2016 16:16:51 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJkZp-00020z-Ks for gdb-patches@sourceware.org; Thu, 14 Jan 2016 11:16:49 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJkZp-00020m-I1; Thu, 14 Jan 2016 11:16:45 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3401 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aJkZo-00044G-Vm; Thu, 14 Jan 2016 11:16:45 -0500 Date: Thu, 14 Jan 2016 16:16:00 -0000 Message-Id: <8337u0i1ac.fsf@gnu.org> From: Eli Zaretskii To: Pedro Alves CC: gdb-patches@sourceware.org In-reply-to: <569782EB.2030509@redhat.com> (message from Pedro Alves on Thu, 14 Jan 2016 11:13:47 +0000) Subject: Re: [PATCH 2/2] Star wildcard ranges (e.g., "info thread 2.*") Reply-to: Eli Zaretskii References: <1452702886-17749-1-git-send-email-palves@redhat.com> <1452702886-17749-3-git-send-email-palves@redhat.com> <83k2ndifd4.fsf@gnu.org> <569782EB.2030509@redhat.com> 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-01/txt/msg00305.txt.bz2 > Date: Thu, 14 Jan 2016 11:13:47 +0000 > From: Pedro Alves > CC: gdb-patches@sourceware.org > > >> +* In commands that accept thread IDs lists, you can now refer to all > > > > "thread ID lists", only one word in plural. Or maybe even better: > > "lists of thread IDs". > > Hmm, going further, I think that "list" should be singular too: > > In commands that accept a thread ID list, you can now refer to all > In commands that accept a list of thread IDs, you can now refer to all > > I prefer the former because "thread ID list" is a defined term in > the manual. I won't bykeshed over it, but just so you know: use of double "status constructus" in English is not a good style, because it is ambiguous -- is "thread ID list" an ID list of a thread or a list of thread IDs? The simple "list of thread IDs" disambiguates that. > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > index fbc76fa..a08a196 100644 > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -2916,17 +2916,17 @@ argument. A list element can be: > > @enumerate > @item > -a thread ID as shown in the first field of the @samp{info threads} > +A thread ID as shown in the first field of the @samp{info threads} > display, with or without an inferior qualifier. E.g., @samp{2.1} or > @samp{1}. > > @item > -a range of thread numbers, again with or without an inferior > +A range of thread numbers, again with or without an inferior > qualifier, as in @var{inf}.@var{thr1}-@var{thr2} or > @var{thr1}-@var{thr2}. E.g., @samp{1.2-4} or @samp{2-4}. > > @item > -all threads of an inferior, specified with a star wildcard, with or > +All threads of an inferior, specified with a star wildcard, with or > without an inferior qualifier, as in @var{inf}.@code{*} (e.g., > @samp{1.*}) or @code{*}. The former refers to all threads of the > given inferior, and the latter form without an inferior qualifier Thanks, this is OK.