This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] Star wildcard ranges (e.g., "info thread 2.*")


> From: Pedro Alves <palves@redhat.com>
> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]