From c6537074be53406772f2886bc97b0524862a5a60 Mon Sep 17 00:00:00 2001 From: Tankut Baris Aktemur Date: Thu, 27 Apr 2023 13:36:08 +0200 Subject: [PATCH] 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 --- 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.30.2