On Jul 30, 2019, Alexandre Oliva <ol...@adacore.com> wrote: > This was regstrapped on x86_64-linux-gnu, and tested internally on > various other platforms. I intend to install it after the corresponding > GDB changes, that I'm about to post, are in.
https://sourceware.org/ml/gdb-patches/2019-07/msg00671.html is now in the GDB master tree, so I pushed this to GCC trunk: > for gcc/ada/ChangeLog > * libgnat/a-exexpr.adb (Begin_Handler_v1, End_Handler_v1): New. > (Claimed_Cleanup): New. > (Begin_Handler, End_Handler): Document. > * gcc-interface/trans.c (gigi): Switch to exception handler > ABI #1. > (Exception_Handler_to_gnu_gcc): Save the original cleanup > returned by begin handler, pass it to end handler, and use > EH_ELSE_EXPR to pass a propagating exception to end handler. > (gnat_to_gnu): Leave the exception pointer alone for reraise. > (add_cleanup): Handle EH_ELSE_EXPR, require it by itself. -- Alexandre Oliva, freedom fighter he/him https://FSFLA.org/blogs/lxo Be the change, be Free! FSF Latin America board member GNU Toolchain Engineer Free Software Evangelist Hay que enGNUrecerse, pero sin perder la terGNUra jamás - Che GNUevara