aboutsummaryrefslogtreecommitdiff
path: root/zlib/example.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-05-30 18:45:30 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-05-30 18:45:45 +0000
commit0af5e1061d7e7bff9270d30635ac4409888c9b73 (patch)
tree3686c69c7c72e2610abe31bdfa5c57d18dda35ba /zlib/example.c
parent078f2fc9c153e6efd1c88b0a34eccc1164f9ae2f (diff)
downloadgdb-0af5e1061d7e7bff9270d30635ac4409888c9b73.zip
gdb-0af5e1061d7e7bff9270d30635ac4409888c9b73.tar.gz
gdb-0af5e1061d7e7bff9270d30635ac4409888c9b73.tar.bz2
hurd: unwinding support over signal trampolines
This allows to get full backtrace from signal handlers, otherwise the backtrace stops at the trampoline that calls the handler. This needs special knowledge how the trampoline records register context for the sigreturn call after signal handling. gdb/ChangeLog: * i386-gnu-tdep.c: Include "gdbcore.h" (gnu_sigtramp_code, i386_gnu_sc_reg_offset): New arrays. (GNU_SIGTRAMP_LEN, GNU_SIGTRAMP_TAIL, I386_GNU_SIGCONTEXT_THREAD_STATE_OFFSET): New macros (i386_gnu_sigtramp_start, i386_gnu_sigtramp_p, i386_gnu_sigcontext_addr): New functions (i386gnu_init_abi): Register i386_gnu_sigtramp_p, i386_gnu_sigcontext_addr, and i386_gnu_sc_reg_offset in the gdbarch tdep.
Diffstat (limited to 'zlib/example.c')
0 files changed, 0 insertions, 0 deletions