From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109714 invoked by alias); 13 Jan 2016 17:00:36 -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 109703 invoked by uid 89); 13 Jan 2016 17:00:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=enumeration, capitalize, HX-Received-From:4830, HX-Received-From:134 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; Wed, 13 Jan 2016 17:00:34 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJOma-0000QS-LW for gdb-patches@sourceware.org; Wed, 13 Jan 2016 12:00:32 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJOma-0000QL-IC; Wed, 13 Jan 2016 12:00:28 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1693 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aJOmZ-0002dM-2g; Wed, 13 Jan 2016 12:00:27 -0500 Date: Wed, 13 Jan 2016 17:00:00 -0000 Message-Id: <83k2ndifd4.fsf@gnu.org> From: Eli Zaretskii To: Pedro Alves CC: gdb-patches@sourceware.org In-reply-to: <1452702886-17749-3-git-send-email-palves@redhat.com> (message from Pedro Alves on Wed, 13 Jan 2016 16:34:45 +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> 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/msg00270.txt.bz2 > From: Pedro Alves > Date: Wed, 13 Jan 2016 16:34:45 +0000 > > Add support for specifying "all threads of inferior N", by writing "*" > as thread number/range in thread ID lists. > > E.g., "info threads 2.*" or "thread apply 2.* bt". Thanks. > +* 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". > +argument. A list element can be: > + > +@enumerate > +@item > +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 > +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 > +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 > +refers to all threads of the current inferior. In this enumeration, each item begins with a lower-case letter, and then continues with another sentence. I suggest to capitalize the first letter of each item, to be more grammatically correct. Otherwise, the documentation parts are OK.