mirror of https://github.com/GNOME/gimp.git
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:
parent
53fae39aee
commit
bb52431cdd
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue