diff options
-rwxr-xr-x | solenv/bin/gdb-core-bt.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/bin/gdb-core-bt.sh b/solenv/bin/gdb-core-bt.sh index 45b612128e6f..149f819224a6 100755 --- a/solenv/bin/gdb-core-bt.sh +++ b/solenv/bin/gdb-core-bt.sh @@ -25,6 +25,7 @@ then GDBCOMMANDFILE=$(mktemp) printf "info registers\nthread apply all backtrace full\n" \ >"$GDBCOMMANDFILE" +file "$COREFILE" guess=$(file "$COREFILE") guess=${guess#* execfn: \'} guess=${guess%%\'*} |