Home | History | Annotate | Download | only in sys
History log of /src/lib/libc/arch/x86_64/sys/__sigtramp2.S
RevisionDateAuthorComments
 1.9  19-Oct-2020  kamil Restore RSP from mcontext

Fixes unwinding of multiple frames without base pointer.

Patch by: Nikhil Benesch via PR lib/55719
 1.8  12-Oct-2020  kamil Decorate the x86_64 signal trampoline with CFI attributes easing unwinding

Combine the approach provided by Nikhil Benesch and Andrew Cagney.

Now, the unwinders (in gccgo, backtrace(3), etc) can unwind properly
the stack from a signal handler.

Fixes lib/55719 by Nikhil Benesch
 1.7  02-Dec-2019  christos Add cfi annotations so that gdb can unwind the stack through signal handlers.
 1.6  22-May-2014  uebayasi branches: 1.6.24;
Put missing END() markers to set ELF symbol size.
 1.5  08-Nov-2006  drochner branches: 1.5.48; 1.5.60;
if setcontext(2) returns, _exit(2) with a return code of -1 instead
of relying on a sensible return value
 1.4  23-Mar-2004  drochner replace the last occurence of an "int 0x80" syscall
 1.3  18-Oct-2003  fvdl Use the int 0x80 path for context system calls.
 1.2  17-Oct-2003  fvdl Get ucontext pointer back out of callee-saved register %r15.
 1.1  06-Oct-2003  fvdl Userland amd64 siginfo support.
 1.5.60.1  10-Aug-2014  tls Rebase.
 1.5.48.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.24.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed