[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hurd: libgcc unwinding over signal trampolines with SIGINFO
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] hurd: libgcc unwinding over signal trampolines with SIGINFO |
Date: |
Mon, 21 Dec 2020 15:25:07 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Jessica Clarke, le lun. 21 déc. 2020 14:21:39 +0000, a ecrit:
> On 21 Dec 2020, at 14:09, Samuel Thibault <samuel.thibault@gnu.org> wrote:
> > @@ -75,29 +86,52 @@ x86_gnu_fallback_frame_state
> > return _URC_END_OF_STACK;
> >
> > handler_args = context->cfa;
> > - scp = handler_args->scp;
> > - usp = scp->sc_uesp;
> > + sigcode = handler_args->legacy.sigcode;
> > + if (sigcode < 4096)
>
> Do you not need >= 0 to handle the 3/1 split correctly?
Ah, right, that's an signed integer, I'll add that.
Thanks,
Samuel