Hi there,

I started to look into the testsuite failures on ARM. The first patch creates
generic and a local variant of the ex_tables.c. This lets the DWARF_* macros
work properly and fixes a segfault in case of UNW_ARM_UNWIND_METHOD=4 and
UNW_LOCAL_ONLY. The second patch increases the alternate signal stack size of
[GL]test-bt and [GL]test-trace test cases. These used to segfault on ARM
because they hitting the stack limit. A new alternate signal stack with a size
of 8k (SIGSTKSZ) is created which is (unfortunately) not enough on ARM because
unw_cursor_t needs 16k (4byte * 4096) already. It seems quite large to me but
since this is part of the ABI the UNW_TDEP_CURSOR_LEN can't be changed without
breaking existent code. The third patch just adds tests/[GL]perf-trace to the
.gitignore file. The changes can be pulled from:
git://git.linaro.org/people/kwerner/libunwind.git

Ken Werner (3):
  Create a generic and local variant of the extbl parser.
  Increase alternate signal stack size.
  Add tests/[GL]perf-trace to the .gitignore file.

 .gitignore                   |    1 +
 include/tdep-arm/ex_tables.h |    7 +
 src/Makefile.am              |    8 +-
 src/arm/Gex_tables.c         |  439 ++++++++++++++++++++++++++++++++++++++++++
 src/arm/Gstep.c              |    2 +
 src/arm/Lex_tables.c         |    5 +
 src/arm/ex_tables.c          |  433 -----------------------------------------
 tests/Gtest-bt.c             |    8 +-
 tests/Gtest-trace.c          |    8 +-
 9 files changed, 469 insertions(+), 442 deletions(-)
 create mode 100644 src/arm/Gex_tables.c
 create mode 100644 src/arm/Lex_tables.c
 delete mode 100644 src/arm/ex_tables.c

Regards
Ken
-- 
1.7.4.1


_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to