From f347ffc90a320a26394715e6f1629c856458ae15 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Tue, 22 Jul 2014 17:10:51 +0100 Subject: gdb/arm-linux-tdep.c: Handle Thumb2 signal trampolines Recent versions of glibc have assembled the signal trampoline code as Thumb2, which causes gdb to misinterpret them and a number of testsuite tests to fail. Educate gdb about these trampolines and get the tests running again. gdb/ChangeLog: 2014-07-28 Will Newton * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define. (THUMB2_SET_R7_SIGRETURN2): Likewise. (THUMB2_SET_R7_RT_SIGRETURN1): Likewise. (THUMB2_SET_R7_RT_SIGRETURN2): Likewise. (THUMB2_EABI_SYSCALL): Likewise. (thumb2_eabi_linux_sigreturn_tramp_frame): Create new struct tramp_frame. (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise. (arm_linux_init_abi): Add Thumb2 tramp frame unwinders. --- gdb/ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0ee72df..0b80869 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,15 @@ +2014-07-28 Will Newton + + * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define. + (THUMB2_SET_R7_SIGRETURN2): Likewise. + (THUMB2_SET_R7_RT_SIGRETURN1): Likewise. + (THUMB2_SET_R7_RT_SIGRETURN2): Likewise. + (THUMB2_EABI_SYSCALL): Likewise. + (thumb2_eabi_linux_sigreturn_tramp_frame): Create new + struct tramp_frame. + (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise. + (arm_linux_init_abi): Add Thumb2 tramp frame unwinders. + 2014-07-27 Doug Evans * guile/scm-param.c (pascm_print_param_smob): Fix output. -- cgit v1.1