This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Add optional argument to "info threads" command
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 24 Nov 2008 22:10:21 +0200
- Subject: Re: [RFA] Add optional argument to "info threads" command
- References: <4928BC24.5020600@vmware.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sat, 22 Nov 2008 18:12:52 -0800
> From: Michael Snyder <msnyder@vmware.com>
>
> --- doc/gdb.texinfo 22 Nov 2008 12:14:33 -0000 1.536
> +++ doc/gdb.texinfo 23 Nov 2008 02:11:23 -0000
> @@ -2491,9 +2491,11 @@ number---always a single integer---with
>
> @table @code
> @kindex info threads
> -@item info threads
> -Display a summary of all threads currently in your
> -program. @value{GDBN} displays for each thread (in this order):
> +@item info threads @r{[}@var{threads}@r{]} @r{[}@var{range}@dots{}@r{]}
> +Display a summary of all threads currently in your program.
> +Optional argument means display information only
> +about the specified threads or range of threads.
> +@value{GDBN} displays for each thread (in this order):
This is okay, but I think we should say a word or two about the
supported syntax of "range".