libunwind-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]