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.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user