From bb52431cdd424a9068069977549e5eab66768bad Mon Sep 17 00:00:00 2001 From: Jehan Date: Mon, 9 Apr 2018 02:15:37 +0200 Subject: [PATCH] libgimpbase: gimp_stack_trace_*() should get backtraces for all threads. Now that GIMP core is multi-threaded, let's get traces for all threads, otherwise we may get some useless traces in some cases. --- libgimpbase/gimputils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgimpbase/gimputils.c b/libgimpbase/gimputils.c index 4b7c14faa3..d157eef4ae 100644 --- a/libgimpbase/gimputils.c +++ b/libgimpbase/gimputils.c @@ -1187,7 +1187,7 @@ gimp_stack_trace_print (const gchar *prog_name, if (pid == 0) { /* Child process. */ - gchar *args[7] = { "gdb", "-batch", "-ex", "backtrace full", + gchar *args[7] = { "gdb", "-batch", "-ex", "thread apply all backtrace", (gchar *) prog_name, NULL, NULL }; if (prog_name == NULL)