From: Tankut Baris Aktemur Date: Thu, 27 Apr 2023 11:36:08 +0000 (+0200) Subject: gdb, doc: add index entry for the $_inferior_thread_count convenience var X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6537074be53406772f2886bc97b0524862a5a60;p=binutils-gdb.git gdb, doc: add index entry for the $_inferior_thread_count convenience var Add a marker in the documentation for indexing the $_inferior_thread_count variable. Approved-By: Eli Zaretskii --- 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