From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38134 invoked by alias); 11 Feb 2017 15:33:54 -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 38117 invoked by uid 89); 11 Feb 2017 15:33:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=HX-HELO:sk:gproxy8, Hx-spam-relays-external:sk:gproxy8, H*RU:sk:gproxy8, Hx-spam-relays-external:67.222.33.93 X-HELO: gproxy8-pub.mail.unifiedlayer.com Received: from gproxy8-pub.mail.unifiedlayer.com (HELO gproxy8-pub.mail.unifiedlayer.com) (67.222.33.93) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Sat, 11 Feb 2017 15:33:42 +0000 Received: (qmail 20874 invoked by uid 0); 11 Feb 2017 15:33:41 -0000 Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy8.mail.unifiedlayer.com with SMTP; 11 Feb 2017 15:33:41 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by cmgw2 with id jTZe1u00G2f2jeq01TZh0d; Sat, 11 Feb 2017 08:33:41 -0700 X-Authority-Analysis: v=2.1 cv=H5NInYoi c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=n2v9WMKugxEA:10 a=zstS-IiYAAAA:8 a=ABXgjZ7Jh-i-RBaeg3MA:9 a=4G6NA9xxw8l3yy4pmD5M:22 Received: from 75-171-188-196.hlrn.qwest.net ([75.171.188.196]:49980 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1ccZgA-0006uE-2z; Sat, 11 Feb 2017 08:33:38 -0700 From: Tom Tromey To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [RFA] PR python/13598 - add before_prompt event References: <1463806850-11001-1-git-send-email-tom@tromey.com> Date: Sat, 11 Feb 2017 15:33:00 -0000 In-Reply-To: <1463806850-11001-1-git-send-email-tom@tromey.com> (Tom Tromey's message of "Fri, 20 May 2016 23:00:50 -0600") Message-ID: <87y3xc4u9e.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Exim-ID: 1ccZgA-0006uE-2z X-Source-Sender: 75-171-188-196.hlrn.qwest.net (bapiya) [75.171.188.196]:49980 X-Source-Auth: tom+tromey.com X-Email-Count: 8 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-SW-Source: 2017-02/txt/msg00297.txt.bz2 >>>>> "Tom" == Tom Tromey writes: Tom> This adds an event that is emitted just before GDB presents a prompt Tom> to the user. This provides Python code a way to react to whatever Tom> changes might have been made by the previous command. For example, in Tom> my GUI I use this to track changes to the selected frame and reflect Tom> them in the UI. Tom> Built and regtested on x86-64 Fedora 23. I'd like to ping this patch again. I tried the suggested alternate approach, which I mentioned last time I pinged. However, that approach did not work out correctly. And, the approach taken in this patch is what is used by the TUI to do exactly the same thing. So, I'd like to ask you to please reconsider this. Tom