public inbox for gdb-testers@sourceware.org help / color / mirror / Atom feed
From: sergiodj+buildbot@sergiodj.net To: gdb-testers@sourceware.org Subject: [binutils-gdb] PR python/13598 - add before_prompt event Date: Tue, 14 Feb 2017 23:42:00 -0000 [thread overview] Message-ID: <3f77c7691fc5ff92eef90f39bb972f25c7422fb0@gdb-build> (raw) *** TEST RESULTS FOR COMMIT 3f77c7691fc5ff92eef90f39bb972f25c7422fb0 *** Author: Tom Tromey <tom@tromey.com> Branch: master Commit: 3f77c7691fc5ff92eef90f39bb972f25c7422fb0 PR python/13598 - add before_prompt event This adds an event that is emitted just before GDB presents a prompt to the user. This provides Python code a way to react to whatever changes might have been made by the previous command. For example, in my GUI I use this to track changes to the selected frame and reflect them in the UI. Built and regtested on x86-64 Fedora 23. gdb/ChangeLog 2017-02-14 Tom Tromey <tom@tromey.com> PR python/13598: * python/python.c (gdbpy_before_prompt_hook): Emit before_prompt event. * python/py-evts.c (gdbpy_initialize_py_events): Add before_prompt registry. * python/py-events.h (events_object) <before_prompt>: New field. gdb/doc/ChangeLog 2017-02-14 Tom Tromey <tom@tromey.com> PR python/13598: * python.texi (Events In Python): Document events.before_prompt. gdb/testsuite/ChangeLog 2017-02-14 Tom Tromey <tom@tromey.com> PR python/13598: * gdb.python/py-events.exp: Add before_prompt event tests.
next reply other threads:[~2017-02-14 23:42 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-02-14 23:42 sergiodj+buildbot [this message] 2017-02-14 23:42 ` Failures on Debian-s390x-native-gdbserver-m64, branch master sergiodj+buildbot 2017-02-15 0:07 ` Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, " sergiodj+buildbot 2017-02-15 0:45 ` Failures on Ubuntu-AArch32-m32, " sergiodj+buildbot 2017-02-16 17:26 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot 2017-02-16 19:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot 2017-02-17 6:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3f77c7691fc5ff92eef90f39bb972f25c7422fb0@gdb-build \ --to=sergiodj+buildbot@sergiodj.net \ --cc=gdb-testers@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).