mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
gbacktrace: Don't truncate gdb output
This commit is contained in:
parent
07a08d5cf5
commit
3999badc1e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user