aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
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 /gdb/ChangeLog
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 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 12321b5..b2ddb1b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,17 @@
2020-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
+ * 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.
+
+2020-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
* gnu-nat.c (gnu_nat_target::create_inferior): Move push_target call
before fork_inferior call. Avoid calling it if target_is_pushed returns
true.