diff options
author | Daniel Jacobowitz <drow@false.org> | 2005-12-22 17:06:25 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2005-12-22 17:06:25 +0000 |
commit | 8e9d1a243cbabb1c407c127c21482c8fc01dda40 (patch) | |
tree | 96c57b53a8fe4c393301cfa80b2ece6bbe7cc35c /gdb/config/arm | |
parent | 2e1e12b1f4d5cdd1c9953a141cde51ee5aa43ee9 (diff) | |
download | gdb-8e9d1a243cbabb1c407c127c21482c8fc01dda40.zip gdb-8e9d1a243cbabb1c407c127c21482c8fc01dda40.tar.gz gdb-8e9d1a243cbabb1c407c127c21482c8fc01dda40.tar.bz2 |
* arm-linux-tdep.c (ARM_SET_R7_SIGRETURN, ARM_SET_R7_RT_SIGRETURN)
(ARM_EABI_SYSCALL, arm_linux_sigtramp_cache, arm_linux_sigreturn_init)
(arm_linux_rt_sigreturn_init, arm_linux_sigreturn_tramp_frame)
(arm_linux_rt_sigreturn_tramp_frame)
(arm_eabi_linux_sigreturn_tramp_frame)
(arm_eabi_linux_rt_sigreturn_tramp_frame): New.
(arm_linux_init_abi): Register the new signal unwinders.
(arm_linux_in_sigtramp, arm_linux_sigcontext_register_address):
Delete.
* arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS_P)
(SIGCONTEXT_REGISTER_ADDRESS, arm_make_sigtramp_cache)
(arm_sigtramp_this_id, arm_sigtramp_prev_register)
(arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer): Delete.
(arm_gdbarch_init): Don't register a signal unwinder.
* config/arm/tm-linux.h (arm_linux_in_sigtramp)
(arm_linux_sigcontext_register_address): Delete prototypes.
(DEPRECATED_IN_SIGTRAMP, SIGCONTEXT_REGISTER_ADDRESS): Delete.
* Makefile.in (arm-linux-tdep.o): Update.
Diffstat (limited to 'gdb/config/arm')
-rw-r--r-- | gdb/config/arm/tm-linux.h | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/gdb/config/arm/tm-linux.h b/gdb/config/arm/tm-linux.h index 108a720..1aaab75 100644 --- a/gdb/config/arm/tm-linux.h +++ b/gdb/config/arm/tm-linux.h @@ -1,5 +1,6 @@ /* Target definitions for GNU/Linux on ARM, for GDB. - Copyright 1999, 2000 Free Software Foundation, Inc. + Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005 + Free Software Foundation, Inc. This file is part of GDB. @@ -43,26 +44,4 @@ extern CORE_ADDR in_svr4_dynsym_resolve_code (CORE_ADDR pc, char *name); #define IN_SOLIB_DYNSYM_RESOLVE_CODE in_svr4_dynsym_resolve_code */ #endif -/* When the ARM Linux kernel invokes a signal handler, the return - address points at a special instruction which'll trap back into - the kernel. These definitions are used to identify this bit of - code as a signal trampoline in order to support backtracing - through calls to signal handlers. */ - -int arm_linux_in_sigtramp (CORE_ADDR pc, char *name); -#define DEPRECATED_IN_SIGTRAMP(pc, name) arm_linux_in_sigtramp (pc, name) - -/* Each OS has different mechanisms for accessing the various - registers stored in the sigcontext structure. These definitions - provide a mechanism by which the generic code in arm-tdep.c can - find the addresses at which various registers are saved at in the - sigcontext structure. If SIGCONTEXT_REGISTER_ADDRESS is not - defined, arm-tdep.c will define it to be 0. (See ia64-tdep.c and - ia64-linux-tdep.c to see what a similar mechanism looks like when - multi-arched.) */ - -extern CORE_ADDR arm_linux_sigcontext_register_address (CORE_ADDR, CORE_ADDR, - int); -#define SIGCONTEXT_REGISTER_ADDRESS arm_linux_sigcontext_register_address - #endif /* TM_ARMLINUX_H */ |