From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id ED8163858D37 for ; Thu, 27 Apr 2023 12:27:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ED8163858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ps0iX-0006yz-BU; Thu, 27 Apr 2023 08:27:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=fo7rGh+vldBwDqF4dkj1U+nUV70mKMngmKFUia9D6NQ=; b=YotVRGTguD4v as3zxoCk6JwdH+maTrTswQySXcVnT+gjVwkc491ISotUVJPda0IAs203G9BJhoaMQb/BYHnSg/PR5 kRVpeSl6kqTs014pczPSAZ0jZKeTsnbIWj7Ha5jEJed/wPRB2AT3MbE/QqjIvV43wmMFhzmF4Dhm0 n3C64SzKHiLtT3R30EvCdpXSM9FsLV8Zs//qYDAAMczj+pSzkvE13YRtti4wRrrDboIi1iknb6Rjf ulYB6VZTcBlnhkWS8qD4Dq52E++6MD0LSKIu0F0QOsB376hgFH3V1uZO8RMim6m8K7Rhs+XHi6ZtE dpmAYJ421uOJPGdhyFb7hA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ps0iW-0003pv-56; Thu, 27 Apr 2023 08:27:20 -0400 Date: Thu, 27 Apr 2023 15:27:52 +0300 Message-Id: <83pm7pse5z.fsf@gnu.org> From: Eli Zaretskii To: Tankut Baris Aktemur Cc: gdb-patches@sourceware.org In-Reply-To: <20230427114053.3397739-1-tankut.baris.aktemur@intel.com> (message from Tankut Baris Aktemur via Gdb-patches on Thu, 27 Apr 2023 13:40:53 +0200) Subject: Re: [PATCH] gdb, doc: add index entry for the $_inferior_thread_count convenience var References: <20230427114053.3397739-1-tankut.baris.aktemur@intel.com> X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > Date: Thu, 27 Apr 2023 13:40:53 +0200 > From: Tankut Baris Aktemur via Gdb-patches > > 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