set logging file gdb.txt
set logging on
bt
bt full
thread apply all bt
quit
