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] Consolidate some Python exception-printing functions Date: Thu, 27 Dec 2018 21:53:00 -0000 [thread overview] Message-ID: <6ef2312a177ebdfa841e82b515c144975073a501@gdb-build> (raw) *** TEST RESULTS FOR COMMIT 6ef2312a177ebdfa841e82b515c144975073a501 *** Author: Tom Tromey <tom@tromey.com> Branch: master Commit: 6ef2312a177ebdfa841e82b515c144975073a501 Consolidate some Python exception-printing functions A few places in the Python code would either call gdbpy_print_stack, or throw a gdb "quit", depending on the pending exception. This patch consolidates these into a helper function. gdb/ChangeLog 2018-12-27 Tom Tromey <tom@tromey.com> * python/python-internal.h (gdbpy_print_stack_or_quit): Declare. * python/py-unwind.c (pyuw_sniffer): Use gdbpy_print_stack_or_quit. * python/py-framefilter.c (throw_quit_or_print_exception): Remove. (gdbpy_apply_frame_filter): Use gdbpy_print_stack_or_quit. * python/python.c (gdbpy_print_stack_or_quit): New function.
next reply other threads:[~2018-12-27 21:37 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-12-27 21:53 sergiodj+buildbot [this message] 2018-12-27 22:29 ` Failures on RHEL-s390x-m64, branch master sergiodj+buildbot 2018-12-28 5:04 ` Failures on Debian-s390x-native-gdbserver-m64, " sergiodj+buildbot 2018-12-28 6:15 ` Failures on Fedora-i686, " sergiodj+buildbot 2018-12-28 6:33 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj+buildbot 2018-12-28 6:59 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot 2018-12-28 7:09 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot 2018-12-28 7:17 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot 2018-12-28 7:24 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot 2018-12-28 7:39 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot 2018-12-28 10:06 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " sergiodj+buildbot 2018-12-28 10:42 ` Failures on Ubuntu-Aarch64-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=6ef2312a177ebdfa841e82b515c144975073a501@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).