From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27052 invoked by alias); 12 Feb 2017 23:02:42 -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 27039 invoked by uid 89); 12 Feb 2017 23:02:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=react, GUI, pinged, Built X-HELO: mail-qk0-f169.google.com Received: from mail-qk0-f169.google.com (HELO mail-qk0-f169.google.com) (209.85.220.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 12 Feb 2017 23:02:40 +0000 Received: by mail-qk0-f169.google.com with SMTP id u25so80303202qki.2 for ; Sun, 12 Feb 2017 15:02:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=QlJvo9d2bVne0W03WIDOQQM3V9Su24l/TQ5OhEbCrqs=; b=bSO3f2fbD3DtcrYCEc/NP31t8kIsBlVrAPDgLrhUvxRrArjC/4iDczH0zRyL0ILzwM MoFdHgdyNvS861jsQch1SaKqrovgqOzgW0N6xP8AEzBeub9rFC/wHh1u7WICiRPg8cO1 r9Jgc3HuFWngaKc67iOdaDfe8+mzB+4kehxJu8XNRDeYbffUb7pzLSxXlY4OiKl4+o9X uMaQ/TT4v5dai0qpBpgmdDd9DJmDnpvOZmF6sG2Nnl/Tj2iZQbO1wnD7iEUjmPxKLV57 WwhkfnFNXPLi369i/ah1xWGwQGkjWoSWN7OL0Fa8fgXubGkRqZf60V4zMm77bt1aenQt qIcg== X-Gm-Message-State: AMke39nOnvZjbsAZ6BnCHTnSlB0xB1exHWmD3b2tfu+kZoIdTQLTHyzGx6fphUR1LasLgix4od+W8+f6bv2+Rw== X-Received: by 10.55.26.159 with SMTP id l31mr19145085qkh.164.1486940558891; Sun, 12 Feb 2017 15:02:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.140.194 with HTTP; Sun, 12 Feb 2017 15:02:38 -0800 (PST) In-Reply-To: <87y3xc4u9e.fsf@tromey.com> References: <1463806850-11001-1-git-send-email-tom@tromey.com> <87y3xc4u9e.fsf@tromey.com> From: Yao Qi Date: Sun, 12 Feb 2017 23:02:00 -0000 Message-ID: Subject: Re: [RFA] PR python/13598 - add before_prompt event To: Tom Tromey Cc: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00309.txt.bz2 On Sat, Feb 11, 2017 at 3:33 PM, Tom Tromey wrote: >>>>>> "Tom" =3D=3D 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. > Hi Tom, I am convinced by your arguments. Your patch is good to me. --=20 Yao (=E9=BD=90=E5=B0=A7)