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: Leonardo Boquillon <leonardo dot boquillon at tallertechnologies dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 19 Apr 2016 15:09:37 -0300
- 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> <87h9exfrgb dot fsf at tromey dot com>
Hi Tom,
Ok but the output issue, mentioned above, stands.
Thanks
On Tue, Apr 19, 2016 at 2:17 PM, Tom Tromey <tom@tromey.com> wrote:
>>>>>> "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
--
Leonardo BoquillÃn
Software Engineer
San Lorenzo 47, 3rd Floor, Office 5
CÃrdoba, Argentina
Phone: +54 351 6288940
Skype: lboquillon