diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2011-03-01 18:20:23 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2011-03-01 18:20:23 +0000 |
commit | 478fd957f7e66cd0ab23d2bbd2a96363d82579fd (patch) | |
tree | 7d82b078079cdba12255b27dcbfa4824ab978abc /gdb/arm-tdep.c | |
parent | ac50ab3b44a453aef7a0ee53890aded3b696bf31 (diff) | |
download | gdb-478fd957f7e66cd0ab23d2bbd2a96363d82579fd.zip gdb-478fd957f7e66cd0ab23d2bbd2a96363d82579fd.tar.gz gdb-478fd957f7e66cd0ab23d2bbd2a96363d82579fd.tar.bz2 |
* arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define.
(arm_linux_restart_syscall_init): Handle both on-stack and in-kernel
versions of the trampoline. Handle Thumb vs. ARM addresses.
(arm_kernel_linux_restart_syscall_tramp_frame): New global.
(arm_linux_init_abi): Install it.
* arm-tdep.c (arm_psr_thumb_bit): Make global.
* arm-tdep.c (arm_psr_thumb_bit): Add prototype.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index e5e9055..8248418 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -262,7 +262,7 @@ int arm_apcs_32 = 1; /* Return the bit mask in ARM_PS_REGNUM that indicates Thumb mode. */ -static int +int arm_psr_thumb_bit (struct gdbarch *gdbarch) { if (gdbarch_tdep (gdbarch)->is_m) |