From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17260 invoked by alias); 9 May 2018 15:43:56 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 17248 invoked by uid 89); 9 May 2018 15:43:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: gateway33.websitewelcome.com Received: from gateway33.websitewelcome.com (HELO gateway33.websitewelcome.com) (192.185.145.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 09 May 2018 15:43:55 +0000 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway33.websitewelcome.com (Postfix) with ESMTP id A65098F06D6 for ; Wed, 9 May 2018 10:43:51 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id GRFvfuCC8bXuJGRFvfEGGA; Wed, 09 May 2018 10:43:51 -0500 X-Authority-Reason: nr=8 Received: from 97-122-176-117.hlrn.qwest.net ([97.122.176.117]:33692 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fGRFv-000Rpd-Ep; Wed, 09 May 2018 10:43:51 -0500 From: Tom Tromey To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [RFA] Add basic Python API for convenience variables References: <20180422211309.31251-1-tom@tromey.com> Date: Wed, 09 May 2018 15:43:00 -0000 In-Reply-To: <20180422211309.31251-1-tom@tromey.com> (Tom Tromey's message of "Sun, 22 Apr 2018 15:13:09 -0600") Message-ID: <87tvrg4yx5.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Source-L: No X-Exim-ID: 1fGRFv-000Rpd-Ep X-Source-Sender: 97-122-176-117.hlrn.qwest.net (bapiya) [97.122.176.117]:33692 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2018-05/txt/msg00203.txt.bz2 >>>>> "Tom" == Tom Tromey writes: Tom> This adds a basic Python API for accessing convenience variables. Tom> With this, convenience variables can be read and set from Python. Tom> Although gdb supports convenience variables whose value changes at Tom> each call, this is not exposed to Python; it could be, but I think Tom> it's just as good to write a convenience function in this situation. Tom> This is PR python/23080. Ping. Tom