This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][PATCH] Fix for Bugzilla #14062 (Exceptions in callbacks posted by gdb.post_event are silently ignored)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]