dotfiles/.bin/OLD/gdb-get-backtrace

9 lines
134 B
Plaintext
Raw Normal View History

2023-02-22 08:31:38 +01:00
#!/bin/sh
exe=$1
core=$2
gdb ${exe} \
--core ${core} \
--batch --quiet \
-ex "thread apply all bt full" \
-ex "quit";