From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta40.uswest2.a.cloudfilter.net (omta40.uswest2.a.cloudfilter.net [35.89.44.39]) by sourceware.org (Postfix) with ESMTPS id 68F6D3858CDA for ; Mon, 11 Dec 2023 19:59:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 68F6D3858CDA Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 68F6D3858CDA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702324744; cv=none; b=aucI4otfFE4fnuvj5BxJ6rBmga6ZM3567+fGWUK48CgqqiPUiFb/YkgN1WHO2HZoQ8ZMLrHMZON48p/rgvVjcuMpIUjszr91VeTHK801Ui2I+T1+pRgT6OfANFReFhCaG8XMbIDzZdXWjxrqF4c7r86G0MX9G5g6/QWQX9xBGjY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702324744; c=relaxed/simple; bh=S6B+DW2Wtz7xDMqQKiZuIUfgqtRWgUlevyuMkXLx40I=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=KsdZalrjaj9hL04FomNRaRDANth5dRBrnOzR4xhGcwq1pRWJlPnSClN5HSGB+v4SxgcRhsLb0Zx0P0Xc2n/NmhWtAwpyDzNDgP6WxOaeoUuEPdrUl3kkgq1xR7w5YQd6ioMMvoG73GfEbJ99KroydhpREEoIrIh1v7RmLC2tzUw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6001a.ext.cloudfilter.net ([10.0.30.140]) by cmsmtp with ESMTPS id CkW6rFitcL9AgCmQerhGSy; Mon, 11 Dec 2023 19:59:00 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id CmQdrU98Lb8QnCmQertFHL; Mon, 11 Dec 2023 19:59:00 +0000 X-Authority-Analysis: v=2.4 cv=IuQNzZzg c=1 sm=1 tr=0 ts=65776a04 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=e2cXIFwxEfEA:10 a=Qbun_eYptAEA:10 a=zstS-IiYAAAA:8 a=XuNZyR3Vk9KH1eGVsmQA:9 a=4G6NA9xxw8l3yy4pmD5M:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=7YzCRqknyOyuM04+ObKGwYsaenCk4VuUW3T4eLj6jzs=; b=a80YRkkUnkuKMes3PVA1HycuMa nGurmGVQf4TQCWOKRA75i9cv8R/YqMT1WoG1SjJ7qu6mCr2XrHSYbUUIYu1IC1yGloiIOZSu9LaJv wk7VdrBoKeWUa8AKqAvTBEsmm; Received: from 71-211-161-25.hlrn.qwest.net ([71.211.161.25]:45796 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rCmQd-002yEj-1y; Mon, 11 Dec 2023 12:58:59 -0700 From: Tom Tromey To: Hannes Domani Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Support dynamically computed convenience variables in get_internalvar_integer References: <20231210121255.1711-1-ssbssa.ref@yahoo.de> <20231210121255.1711-1-ssbssa@yahoo.de> X-Attribution: Tom Date: Mon, 11 Dec 2023 12:58:58 -0700 In-Reply-To: <20231210121255.1711-1-ssbssa@yahoo.de> (Hannes Domani's message of "Sun, 10 Dec 2023 13:12:55 +0100") Message-ID: <87bkawecjh.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 71.211.161.25 X-Source-L: No X-Exim-ID: 1rCmQd-002yEj-1y X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-161-25.hlrn.qwest.net (murgatroyd) [71.211.161.25]:45796 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfPXAtEMuKSluExzSUptmY+SdogdvmdhWfwNGRsoYyE3TDYzqAGqlFr0dW6D4/RGg9wsVUyLdbm4yJbry0+y0iEY/LNf0RQQ7TF3sERlfXs6vZCAGvWTl 1hzx2O8UmwYOqEGUI9Y5GFMZD5Lx7Bbc3h07fVDMMMCFjiqFUD2d4bHFMnCAGwgXCcjWbQE6Wc+n7PR4JYoM27vyu+Kwn6D5lFA= X-Spam-Status: No, score=-3017.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Hannes" == Hannes Domani writes: Hannes> When using $_thread in info threads to showonly the current thread, Hannes> you get this error: Hannes> ``` Hannes> (gdb) info thread $_thread Hannes> Convenience variable must have integer value. Hannes> Args must be numbers or '$' variables. Hannes> ``` Hannes> It's because $_thread is a dynamically computed convenience Hannes> variable, which isn't supported yet by get_internalvar_integer. Thank you. This is ok. Approved-By: Tom Tromey Tom