diff --git a/glib/gbacktrace.c b/glib/gbacktrace.c index 6f4604e1f..9c52a7d29 100644 --- a/glib/gbacktrace.c +++ b/glib/gbacktrace.c @@ -449,6 +449,8 @@ stack_trace (const char * const *args) checked_write (in_fd[1], "process detach\n", 15); checked_write (in_fd[1], "quit\n", 5); #else + /* Don't wrap so that lines are not truncated */ + checked_write (in_fd[1], "set width unlimited\n", 20); checked_write (in_fd[1], "backtrace\n", 10); checked_write (in_fd[1], "p x = 0\n", 8); checked_write (in_fd[1], "quit\n", 5);