PowerPC: use libgcc _Unwind functions to get backtrace
commit84dd3946e0e0aee66635ba4373943d113fd25ca1
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Thu, 25 Jul 2013 13:53:11 +0000 (25 10:53 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Tue, 6 Aug 2013 19:20:19 +0000 (6 16:20 -0300)
tree5b5d078c3985589f6d08a29c56138637710cc78b
parent733a36d81544dad38726489b43523cc0ac95095d
PowerPC: use libgcc _Unwind functions to get backtrace

This patch changes the way backtraces are obtained on PowerPC by
relaying on libgcc _Unwind function instead of just backchain parse.
It fixes debug/tst-backtrace5 for PPC32 and PPC64.
ChangeLog
debug/Makefile
debug/tst-backtrace5.c
debug/tst-backtrace6.c [new file with mode: 0644]
sysdeps/powerpc/powerpc32/backtrace.c
sysdeps/powerpc/powerpc64/backtrace.c
sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
sysdeps/unix/sysv/linux/powerpc/init-first.c