selfjungle Just another WordPress weblog

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
Tagged as: , No Comments
15Oct/130

what files does your executable open

strace -e trace=open EXECUTABLE