From ad0569f782a22ad5136a3bfb9aad7f65b2cb0f16 Mon Sep 17 00:00:00 2001 From: Jakub Filak Date: Jul 25 2013 15:49:07 +0000 Subject: added forgetten patch --- diff --git a/satyr-0.5-always_build_gdb_output_based_unwinder.patch b/satyr-0.5-always_build_gdb_output_based_unwinder.patch new file mode 100644 index 0000000..a49fd8e --- /dev/null +++ b/satyr-0.5-always_build_gdb_output_based_unwinder.patch @@ -0,0 +1,36 @@ +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 +