mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Merge branch 'wip/sadiq/fix-bt-lines-cut' into 'main'
gbacktrace: Don't truncate gdb output See merge request GNOME/glib!2880
This commit is contained in:
commit
13776b4942
@ -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