[2/3] gdb, doc: add the missing '-gid' option to 'info threads'

Message ID e6e328d906b966f11ccf7ac744ca6ff95e88c290.1680686221.git.tankut.baris.aktemur@intel.com
State New
Headers
Series Option to show stopped threads only |

Commit Message

Aktemur, Tankut Baris April 5, 2023, 9:20 a.m. UTC
  The 'info threads' command does not show the '-gid' option
in the syntax.  Add the option.  The flag is already explained
in the command description and used in the examples.
---
 gdb/doc/gdb.texinfo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Eli Zaretskii April 5, 2023, 9:56 a.m. UTC | #1
> Date: Wed,  5 Apr 2023 11:20:01 +0200
> From: Tankut Baris Aktemur via Gdb-patches <gdb-patches@sourceware.org>
> 
> The 'info threads' command does not show the '-gid' option
> in the syntax.  Add the option.  The flag is already explained
> in the command description and used in the examples.
> ---
>  gdb/doc/gdb.texinfo | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
> index fe76e5e0a0e..ed14888b77b 100644
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -3678,7 +3678,7 @@ Thread 1 "main" received signal SIGINT, Interrupt.
>  @table @code
>  @anchor{info_threads}
>  @kindex info threads
> -@item info threads @r{[}@var{thread-id-list}@r{]}
> +@item info threads @r{[}-gid@r{]} @r{[}@var{thread-id-list}@r{]}
>  
>  Display information about one or more threads.  With no arguments
>  displays information about all threads.  You can specify the list of

Thanks, this is OK.

Approved-By: Eli Zaretskii <eliz@gnu.org>
  
Terekhov, Mikhail via Gdb-patches April 5, 2023, 10:12 a.m. UTC | #2
On Wednesday, April 5, 2023 11:57 AM, Eli Zaretskii wrote:
> > Date: Wed,  5 Apr 2023 11:20:01 +0200
> > From: Tankut Baris Aktemur via Gdb-patches <gdb-patches@sourceware.org>
> >
> > The 'info threads' command does not show the '-gid' option
> > in the syntax.  Add the option.  The flag is already explained
> > in the command description and used in the examples.
> > ---
> >  gdb/doc/gdb.texinfo | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
> > index fe76e5e0a0e..ed14888b77b 100644
> > --- a/gdb/doc/gdb.texinfo
> > +++ b/gdb/doc/gdb.texinfo
> > @@ -3678,7 +3678,7 @@ Thread 1 "main" received signal SIGINT, Interrupt.
> >  @table @code
> >  @anchor{info_threads}
> >  @kindex info threads
> > -@item info threads @r{[}@var{thread-id-list}@r{]}
> > +@item info threads @r{[}-gid@r{]} @r{[}@var{thread-id-list}@r{]}
> >
> >  Display information about one or more threads.  With no arguments
> >  displays information about all threads.  You can specify the list of
> 
> Thanks, this is OK.
> 
> Approved-By: Eli Zaretskii <eliz@gnu.org>

Thank you.  I pushed this single patch.

-Baris

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
  

Patch

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index fe76e5e0a0e..ed14888b77b 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -3678,7 +3678,7 @@  Thread 1 "main" received signal SIGINT, Interrupt.
 @table @code
 @anchor{info_threads}
 @kindex info threads
-@item info threads @r{[}@var{thread-id-list}@r{]}
+@item info threads @r{[}-gid@r{]} @r{[}@var{thread-id-list}@r{]}
 
 Display information about one or more threads.  With no arguments
 displays information about all threads.  You can specify the list of