22May/140
non interactive gdb to run & backtrace
set confirm off
can turn off the "Quit anyway? (y or n)" question.
gdb EXECUTABLE -ex "set width 1000" -ex "thread apply all bt" -ex run -ex bt -ex "set confirm off" -ex quit
set confirm off
can turn off the "Quit anyway? (y or n)" question.
gdb EXECUTABLE -ex "set width 1000" -ex "thread apply all bt" -ex run -ex bt -ex "set confirm off" -ex quit
Leave a comment