This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][PATCH] Fix for Bugzilla #14062 (Exceptions in callbacks posted by gdb.post_event are silently ignored)
- From: Tom Tromey <tom at tromey dot com>
- To: Leonardo Boquillon <leonardo dot boquillon at tallertechnologies dot com>
- Cc: gdb-patches at sourceware dot org, tom at tromey dot com
- Date: Tue, 19 Apr 2016 11:17:56 -0600
- Subject: Re: [RFC][PATCH] Fix for Bugzilla #14062 (Exceptions in callbacks posted by gdb.post_event are silently ignored)
- Authentication-results: sourceware.org; auth=none
- References: <1461081936-13813-1-git-send-email-leonardo dot boquillon at tallertechnologies dot com>
>>>>> "Leonardo" == Leonardo Boquillon <leonardo.boquillon@tallertechnologies.com> writes:
Leonardo> - PyErr_Clear ();
Leonardo> + {
Leonardo> + gdbpy_print_stack ();
Leonardo> + PyErr_Clear ();
Leonardo> + }
gdbpy_print_stack implicitly clears the error, so the call to
PyErr_Clear can just be removed here.
Tom