public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gdb, doc: add index entry for the $_inferior_thread_count convenience var
@ 2023-04-27 11:40 Tankut Baris Aktemur
  2023-04-27 12:27 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Tankut Baris Aktemur @ 2023-04-27 11:40 UTC (permalink / raw)
  To: gdb-patches

Add a marker in the documentation for indexing the $_inferior_thread_count
variable.
---
 gdb/doc/gdb.texinfo | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index eadcde412f2..d8f7413dc48 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -3654,6 +3654,7 @@ program's ``main thread'' even if the program is not multi-threaded.
 
 @vindex $_thread@r{, convenience variable}
 @vindex $_gthread@r{, convenience variable}
+@vindex $_inferior_thread_count@r{, convenience variable}
 The debugger convenience variables @samp{$_thread} and
 @samp{$_gthread} contain, respectively, the per-inferior thread number
 and the global thread number of the current thread.  You may find this
-- 
2.25.1

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gdb, doc: add index entry for the $_inferior_thread_count convenience var
  2023-04-27 11:40 [PATCH] gdb, doc: add index entry for the $_inferior_thread_count convenience var Tankut Baris Aktemur
@ 2023-04-27 12:27 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2023-04-27 12:27 UTC (permalink / raw)
  To: Tankut Baris Aktemur; +Cc: gdb-patches

> Date: Thu, 27 Apr 2023 13:40:53 +0200
> From: Tankut Baris Aktemur via Gdb-patches <gdb-patches@sourceware.org>
> 
> Add a marker in the documentation for indexing the $_inferior_thread_count
> variable.
> ---
>  gdb/doc/gdb.texinfo | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
> index eadcde412f2..d8f7413dc48 100644
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -3654,6 +3654,7 @@ program's ``main thread'' even if the program is not multi-threaded.
>  
>  @vindex $_thread@r{, convenience variable}
>  @vindex $_gthread@r{, convenience variable}
> +@vindex $_inferior_thread_count@r{, convenience variable}
>  The debugger convenience variables @samp{$_thread} and
>  @samp{$_gthread} contain, respectively, the per-inferior thread number
>  and the global thread number of the current thread.  You may find this

Thanks, this is OK.

Approved-By: Eli Zaretskii <eliz@gnu.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-27 12:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-27 11:40 [PATCH] gdb, doc: add index entry for the $_inferior_thread_count convenience var Tankut Baris Aktemur
2023-04-27 12:27 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).