[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 0/4] ARM: Initial support for remote unwinding
From: |
Ken Werner |
Subject: |
[Libunwind-devel] [PATCH 0/4] ARM: Initial support for remote unwinding - 2nd patch set |
Date: |
Mon, 15 Aug 2011 20:23:10 +0200 |
Hi,
This patch set supersedes the non-merged patches from:
http://lists.nongnu.org/archive/html/libunwind-devel/2011-08/msg00002.html
The first patch makes dwarf dl_iterate_phdr callback available within libunwind
as suggested by Arun. The second patch reworks the lookup of the ARM specific
unwind info and implements the target dependent arm_find_proc_info and
tdep_search_unwind_table routines. The last two patches didn't really change.
The third patch changes libunwind-ptrace to also look for .debug_frame info
in case no matching information was found in the .eh_frame. This could happen
if the GCC generates .eh_frame info for some functions only (e.g. only the C
code that interacts with C++ code that is likely to throw exceptions). The new
behavior matches to what the local unwind code does. The fourth patch adds the
last piece to enable remote unwinding by changing _UPTi_find_unwind_table to
also look for the ARM specific unwind information. In addition the code that
reads the ARM specific unwind information from memory is changed to make use of
the accessor routines.
As usual the changes can be pulled from:
git://git.linaro.org/people/kwerner/libunwind.git
Ken Werner (4):
Make the dwarf dl_iterate_phdr callback available within libunwind.
Rework the lookup of the ARM specific unwind info
Change libunwind-ptrace to also look for .debug_frame if nothing
found in .eh_frame.
ARM: Initial support for remote unwinding using libunwind-ptrace
include/dwarf.h | 14 ++
include/libunwind-arm.h | 13 --
include/libunwind-dynamic.h | 3 +-
include/tdep-arm/ex_tables.h | 12 +--
include/tdep-arm/libunwind_i.h | 13 +-
src/arm/Gex_tables.c | 354 ++++++++++++++++++++++++++------------
src/arm/Ginit.c | 10 +-
src/arm/Ginit_local.c | 3 -
src/arm/Gstep.c | 12 +-
src/dwarf/Gfind_proc_info-lsb.c | 24 +--
src/dwarf/Gparser.c | 5 +
src/ptrace/_UPT_create.c | 5 +
src/ptrace/_UPT_find_proc_info.c | 341 ++++++++++++++++++++++---------------
src/ptrace/_UPT_internal.h | 16 +-
14 files changed, 502 insertions(+), 323 deletions(-)
Regards
Ken
--
1.7.4.1
- [Libunwind-devel] [PATCH 0/4] ARM: Initial support for remote unwinding - 2nd patch set,
Ken Werner <=
- [Libunwind-devel] [PATCH 1/4] Make the dwarf dl_iterate_phdr callback available within libunwind., Ken Werner, 2011/08/15
- [Libunwind-devel] [PATCH 4/4] ARM: Initial support for remote unwinding using libunwind-ptrace, Ken Werner, 2011/08/15
- [Libunwind-devel] [PATCH 3/4] Change libunwind-ptrace to also look for .debug_frame if nothing found in .eh_frame., Ken Werner, 2011/08/15
- [Libunwind-devel] [PATCH 2/4] Rework the lookup of the ARM specific unwind info, Ken Werner, 2011/08/15
- Re: [Libunwind-devel] [PATCH 0/4] ARM: Initial support for remote unwinding - 2nd patch set, Arun Sharma, 2011/08/16