On Sun, 2014-01-26 at 20:37 +0100, Mark Wielaard wrote:
This allows CFI unwinding for ARM. It relies on having .debug_frame around which is always the case in our testsuite. All backtrace tests PASS.
If only things were that simple... All native backtrace tests PASS IF all debuginfo for the libraries (glibc) is installed on the system (since only then can it use the .debug_frame fallback to find the correct CFI). So in the patch pushed to master (as attached) I added a special case for arm* in backtrace-subr.sh (check_unsupported) to SKIP the native tests if DWARF could not be found.
Cheers,
Mark