dotfiles/.bin/gdb-get-backtrace
2023-02-22 08:31:38 +01:00

9 lines
134 B
Bash
Executable File

#!/bin/sh
exe=$1
core=$2
gdb ${exe} \
--core ${core} \
--batch --quiet \
-ex "thread apply all bt full" \
-ex "quit";