git-siginfo_uesp
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)
Committed for 2.33

commit e0aec6c83374286ffac44ee1b0e628894b7102e3
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Dec 21 03:15:38 2020 +0100

    hurd: Make trampoline fill siginfo ss_sp from sc_uesp

    Mach actually rather fills the uesp field, not esp.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-siginfo_uesp.diff

sysdeps/mach/hurd/i386/trampoline.c

index 4a9cab1332ed3b6fab5498b30147faa1c7a9709d..1777d0769dbb18a86c1967542faac0b0bbbd0b4f 100644 (file)
@@ -63,7 +63,7 @@ static void fill_ucontext (ucontext_t *uc, const struct sigcontext *sc)
   uc->uc_flags = 0;
   uc->uc_link = NULL;
   uc->uc_sigmask = sc->sc_mask;
-  uc->uc_stack.ss_sp = (__ptr_t) sc->sc_esp;
+  uc->uc_stack.ss_sp = (__ptr_t) sc->sc_uesp;
   uc->uc_stack.ss_size = 0;
   uc->uc_stack.ss_flags = 0;