summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2023-04-27 13:36:08 +0200
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2023-04-27 14:44:16 +0200
commitc6537074be53406772f2886bc97b0524862a5a60 (patch)
tree78c08e249760f284a831c80a06adb324a9a0e973
parentc386bf4df5c4a6548278c5a03fc6a790da2e2bd4 (diff)
downloadbinutils-gdb-c6537074be53406772f2886bc97b0524862a5a60.tar.gz
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 <eliz@gnu.org>
-rw-r--r--gdb/doc/gdb.texinfo1
1 files changed, 1 insertions, 0 deletions
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