This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] PR python/13598 - add before_prompt event
- From: Tom Tromey <tom at tromey dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: Tom Tromey <tom at tromey dot com>, Matt Rice <ratmice at gmail dot com>, "gdb-patches\@sourceware.org" <gdb-patches at sourceware dot org>
- Date: Wed, 03 Aug 2016 10:07:51 -0600
- Subject: Re: [RFA] PR python/13598 - add before_prompt event
- Authentication-results: sourceware.org; auth=none
- References: <1463806850-11001-1-git-send-email-tom@tromey.com> <CAH=s-PN=rQG=nxyB=YUPoDU4mSN6shAUskBUw8UmeJfm2UcLTw@mail.gmail.com> <CACTLOFqA-ZFfik=umzqsKy49bQr_OMzYjj6-m3o_MeqFzmd4Cg@mail.gmail.com> <87r3allziy.fsf@tromey.com> <CAH=s-PMK-Jqoou-6S6wc01dNPfoRJFdVzWTem0dNQRsDLDXuLQ@mail.gmail.com>
>>>>> "Yao" == Yao Qi <qiyaoltc@gmail.com> writes:
Yao> If you are interested in changes in selected frames, we can add a
Yao> python event selected_frame_changed. However, as a python api, the
Yao> event should be general enough, IOW, your tool isn't interested in
Yao> temporary frame changes, but other python users may be interested
Yao> in _all_ selected frame changes.
If a general event is implemented, I'll still need a way to filter out
temporary frame changes, to avoid excessive GUI updates.
Tom