[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 1/6] ARM: add missing register offsets
From: |
anderson . lizardo |
Subject: |
[Libunwind-devel] [PATCH 1/6] ARM: add missing register offsets |
Date: |
Thu, 17 Jul 2008 10:23:23 -0300 |
User-agent: |
quilt/0.46-1 |
Add missing register offsets for ARM, necessary for remote backtracing.
Signed-off-by: Anderson Lizardo <address@hidden>
Signed-off-by: Bruna Moreira <address@hidden>
Signed-off-by: Thiago Santos <address@hidden>
---
src/ptrace/_UPT_reg_offset.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
Index: libunwind-indt-split-v2/src/ptrace/_UPT_reg_offset.c
===================================================================
--- libunwind-indt-split-v2.orig/src/ptrace/_UPT_reg_offset.c
+++ libunwind-indt-split-v2/src/ptrace/_UPT_reg_offset.c
@@ -289,6 +289,22 @@
#elif defined(UNW_TARGET_PPC32)
#elif defined(UNW_TARGET_PPC64)
#elif defined(UNW_TARGET_ARM)
+ [UNW_ARM_R0] = 0x00,
+ [UNW_ARM_R1] = 0x04,
+ [UNW_ARM_R2] = 0x08,
+ [UNW_ARM_R3] = 0x0c,
+ [UNW_ARM_R4] = 0x10,
+ [UNW_ARM_R5] = 0x14,
+ [UNW_ARM_R6] = 0x18,
+ [UNW_ARM_R7] = 0x1c,
+ [UNW_ARM_R8] = 0x20,
+ [UNW_ARM_R9] = 0x24,
+ [UNW_ARM_R10] = 0x28,
+ [UNW_ARM_R11] = 0x2c,
+ [UNW_ARM_R12] = 0x30,
+ [UNW_ARM_R13] = 0x34,
+ [UNW_ARM_R14] = 0x38,
+ [UNW_ARM_R15] = 0x3c,
#elif defined(UNW_TARGET_MIPS)
#else
# error Fix me.
--
Anderson Lizardo
Instituto Nokia de Tecnologia (INdT)
Manaus - Brazil
- [Libunwind-devel] [PATCH 0/6] Add .debug_frame based remote backtrace support (v2), anderson . lizardo, 2008/07/17
- [Libunwind-devel] [PATCH 5/6] Factor out and export dwarf_find_debug_frame() function, anderson . lizardo, 2008/07/17
- [Libunwind-devel] [PATCH 6/6] Add .debug_frame based remote unwinding support, anderson . lizardo, 2008/07/17
- [Libunwind-devel] [PATCH 1/6] ARM: add missing register offsets,
anderson . lizardo <=
- [Libunwind-devel] [PATCH 2/6] Fix .gnu_debuglink lookup for separate debug symbols, anderson . lizardo, 2008/07/17
- [Libunwind-devel] [PATCH 4/6] Add ip argument to _UPTi_find_unwind_table, anderson . lizardo, 2008/07/17
- [Libunwind-devel] [PATCH 3/6] Add path and pathlen arguments to tdep_get_elf_image(), anderson . lizardo, 2008/07/17