[PATCH] libgcc: Fix _Unwind_Backtrace() for SEH

2021-06-03 Thread Seija K. via Gcc-patches
Forgot to assign to gcc_context.cfa and gcc_context.ra. Note this fix can be backported to earlier editions of gcc as well diff --git a/libgcc/unwind-seh.c b/libgcc/unwind-seh.c index 8c6aade9a3b39..d40d16702a9e1 100644 --- a/libgcc/unwind-seh.c +++ b/libgcc/unwind-seh.c @@ -466,6 +466,9 @@ _Unwin

Re: [PATCH] libgcc: Fix _Unwind_Backtrace() for SEH

2021-06-04 Thread Eric Botcazou
> Forgot to assign to gcc_context.cfa and gcc_context.ra. Note this fix can > be backported to earlier editions of gcc as well It's already done by: 2020-11-03 Martin Storsjö * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers before calling the callback. https://