gdb, doc: add index entry for the $_inferior_thread_count convenience var
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Thu, 27 Apr 2023 11:36:08 +0000 (13:36 +0200)
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Thu, 27 Apr 2023 12:44:16 +0000 (14:44 +0200)
Add a marker in the documentation for indexing the $_inferior_thread_count
variable.

Approved-By: Eli Zaretskii <eliz@gnu.org>
gdb/doc/gdb.texinfo

index eadcde412f2ffbf5c9fbd803e67db4aca90cfcb9..d8f7413dc483ea81c9e56f19c51d5357fc721db7 100644 (file)
@@ -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