1 From 04437142399662b576bd55a85485c6dcc14d0812 Mon Sep 17 00:00:00 2001
2 From: Khem Raj <raj.khem at gmail.com>
3 Date: Thu, 31 Dec 2015 06:44:07 +0000
4 Subject: [PATCH] backtrace: Use only with glibc and uclibc
6 backtrace API is glibc specific not linux specific
9 Signed-off-by: Khem Raj <raj.khem at gmail.com>
11 Upstream-Status: Pending
13 tests/test-coredump-unwind.c | 4 +++-
14 1 file changed, 3 insertions(+), 1 deletion(-)
16 diff --git a/tests/test-coredump-unwind.c b/tests/test-coredump-unwind.c
17 index 5254708..8767b42 100644
18 --- a/tests/test-coredump-unwind.c
19 +++ b/tests/test-coredump-unwind.c
23 /* For SIGSEGV handler code */
27 #include <sys/ucontext.h>
29 #include <libunwind-coredump.h>
30 @@ -238,11 +240,11 @@ void handle_sigsegv(int sig, siginfo_t *info, void *ucontext)
38 size = backtrace(array, 50);
40 backtrace_symbols_fd(array, size, 2);