This is an RFC series that adds FDPIC ELF target support to
libbacktrace.

While debugging this I've noticed that there's no unwinding info for the
libstdc++ version of libbacktrace, which made backtraces empty for me,
both on xtensa-linux-uclibcfdpic and on regular xtensa-linux-uclibc.
Adding -funwind-tables to the libstdc++ version of libbacktrace fixed
that. Which makes me wonder how it works for other architectures?

Max Filippov (2):
  libbacktrace: add FDPIC support
  libstdc++-v3/src/libbacktrace: add -funwind-tables

 libbacktrace/dwarf.c                      | 60 ++++++++++++++---------
 libbacktrace/elf.c                        | 20 +++++---
 libbacktrace/internal.h                   | 14 +++++-
 libstdc++-v3/src/libbacktrace/Makefile.am |  4 +-
 libstdc++-v3/src/libbacktrace/Makefile.in |  4 +-
 5 files changed, 66 insertions(+), 36 deletions(-)

-- 
2.39.2

Reply via email to