Re: [PATCH 00/30] Stop throwing exceptions from signal handlers

Pedro Alves
2016-03-31T18:44:32Z

On 03/31/2016 03:43 PM, Pedro Alves wrote:
> On 03/21/2016 07:52 PM, Simon Marchi wrote:
>> I went over the series, and I understood some of the words used. What I understood
>> looked very good. For the rest, I trust you are doing the right thing. :)
>
> :-) Feel free to ask about anything, and I'll try to clarify.
>
>> Thanks a lot for doing this, since this is the major roadblock before we can't start
>> using C++!
>
> Yup! I'm looking forward to have this in, and switch back
> TRY/CATCH to be backed by real C++ exceptions, again.
>
> I think that this might bring in the speed up Yichun Zhang
> wanted here:
>
> https://sourceware.org/ml/gdb-patches/2015-02/msg00272.html
>
> if he builds in C++ mode, of course.

Actually, this series makes it possible to use setjmp instead of
sigsetjump for all GDB exceptions and thus get the speedup in C
mode as well.

> If anyone else wants to take a look at the series,
> please let me know. Otherwise, I'd like to push it in soon.

Thanks,
Pedro Alves