summaryrefslogtreecommitdiff
path: root/gdb/config/arm
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2005-12-22 17:06:25 +0000
committerDaniel Jacobowitz <dan@debian.org>2005-12-22 17:06:25 +0000
commit01827640101fc7a8601322cedf32b74d488f3939 (patch)
tree4c359320b5bf648381d0d308c86527310ba093c5 /gdb/config/arm
parentaf7115d520f80781e838125ef613612e159b2152 (diff)
downloadgdb-01827640101fc7a8601322cedf32b74d488f3939.tar.gz
* 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.h25
1 files changed, 2 insertions, 23 deletions
diff --git a/gdb/config/arm/tm-linux.h b/gdb/config/arm/tm-linux.h
index 108a72091d0..1aaab75da18 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 */