mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-08 02:18:11 +01:00
becfc23123
When libunwind is built for a ppc32 target, for example the yocto distro for qemuppc, and configured with options --enable-debug-frame and --enable-debug, then the shortfall in the size of the 'opaque' member of the unw_cursor_t type throws an assert in mi_init(). The calculations for the ppc32 target size of UNW_TDEP_CURSOR_LEN in the comment block based on the register count plus overhead sum to 280 words. However, that value is not reflected in the ppc32 header, which defines the size as 200. Fixing the ppc32 header value to 280 makes the unw_cursor_t type larger than struct cursor type and the assert tests true at run-time in mi_init(). Signed-off-by Dave Lerner <dave.lerner@windriver.com> |
||
---|---|---|
.. | ||
tdep | ||
tdep-arm | ||
tdep-hppa | ||
tdep-ia64 | ||
tdep-mips | ||
tdep-ppc32 | ||
tdep-ppc64 | ||
tdep-sh | ||
tdep-x86 | ||
tdep-x86_64 | ||
x86 | ||
compiler.h | ||
dwarf-eh.h | ||
dwarf.h | ||
dwarf_i.h | ||
libunwind-arm.h | ||
libunwind-common.h.in | ||
libunwind-coredump.h | ||
libunwind-dynamic.h | ||
libunwind-hppa.h | ||
libunwind-ia64.h | ||
libunwind-mips.h | ||
libunwind-ppc32.h | ||
libunwind-ppc64.h | ||
libunwind-ptrace.h | ||
libunwind-sh.h | ||
libunwind-x86.h | ||
libunwind-x86_64.h | ||
libunwind.h.in | ||
libunwind_i.h | ||
mempool.h | ||
remote.h | ||
unwind.h |