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: [RFA] Add optional argument to "info threads" command


> 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".


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