From db15f83d09faf472a02b28ac97770c84769d8004 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Thu, 25 Jul 2013 16:56:07 +0200 Subject: [SATYR PATCH] Always build GDB-output-based unwinder Previously it was built only when a native unwinding library was present, which does not make any sense. Signed-off-by: Martin Milata Signed-off-by: Jakub Filak --- lib/core_unwind.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/core_unwind.c b/lib/core_unwind.c index f15a0f9..f8ec516 100644 --- a/lib/core_unwind.c +++ b/lib/core_unwind.c @@ -49,7 +49,7 @@ sr_parse_coredump(const char *coredump_filename, return NULL; } -#else /* !defined WITH_LIBDWFL && !defined WITH_LIBUNWIND */ +#endif /* !defined WITH_LIBDWFL && !defined WITH_LIBUNWIND */ /* FIXME: is there another way to pass the executable name to the find_elf * callback? */ @@ -444,5 +444,3 @@ sr_core_stacktrace_from_gdb(const char *gdb_output, const char *core_file, sr_gdb_stacktrace_free(gdb_stacktrace); return core_stacktrace; } - -#endif /* !defined WITH_LIBDWFL && !defined WITH_LIBUNWIND */ -- 1.8.3.1