|
|
@@ -1,21 +0,0 @@
|
|
|
---- libunwind-1.2.orig/tests/test-coredump-unwind.c 2017-01-13 16:58:24.000000000 +0100
|
|
|
-+++ libunwind-1.2/tests/test-coredump-unwind.c 2017-04-17 18:52:13.963470134 +0200
|
|
|
-@@ -57,7 +57,9 @@
|
|
|
- #include <grp.h>
|
|
|
-
|
|
|
- /* For SIGSEGV handler code */
|
|
|
-+#ifndef __UCLIBC__
|
|
|
- #include <execinfo.h>
|
|
|
-+#endif
|
|
|
- #include <sys/ucontext.h>
|
|
|
-
|
|
|
- #include <libunwind-coredump.h>
|
|
|
-@@ -242,7 +244,7 @@ void handle_sigsegv(int sig, siginfo_t *
|
|
|
- void *array[50];
|
|
|
- int size;
|
|
|
- size = backtrace(array, 50);
|
|
|
--#ifdef __linux__
|
|
|
-+#if defined __linux__ && !defined __UCLIBC__
|
|
|
- backtrace_symbols_fd(array, size, 2);
|
|
|
- #endif
|
|
|
- }
|