Re: [PATCH 2/3] Propagate GDB/C++ exceptions across readline using sj/lj-based TRY/CATCH

Yao Qi
2016-04-22T08:19:00Z

Pedro Alves <palves@redhat.com> writes:

Hi Pedro,
this series is fine with me. I tested them on arm/fedora19, and the
exception can be correctly handled.

> This turns out to be a much better looking fix than my bespoke API
> attempt, even. We'll probably be able to simplify TRY_SJLJ/CATCH_SJLJ
> when we finally get rid of TRY/CATCH all over the tree, but until

I don't see anything we can simplify in TRY_SJLJ/CATCH_SJLJ. Can you
elaborate please?

> then, this reuse seems quite nice for avoiding a second parallel
> setjmp/longjmp mechanism.

--
Yao (齐尧)