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:
Jehan 2018-04-09 02:15:37 +02:00
parent 53fae39aee
commit bb52431cdd
1 changed files with 1 additions and 1 deletions

View File

@ -1187,7 +1187,7 @@ gimp_stack_trace_print (const gchar *prog_name,
if (pid == 0) if (pid == 0)
{ {
/* Child process. */ /* 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 }; (gchar *) prog_name, NULL, NULL };
if (prog_name == NULL) if (prog_name == NULL)