gdb, doc: add index entry for the $_inferior_thread_count convenience var
Commit Message
Add a marker in the documentation for indexing the $_inferior_thread_count
variable.
---
gdb/doc/gdb.texinfo | 1 +
1 file changed, 1 insertion(+)
Comments
> 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>
@@ -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