diff options
Diffstat (limited to 'solenv/bin')
-rwxr-xr-x | solenv/bin/gdb-core-bt.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/bin/gdb-core-bt.sh b/solenv/bin/gdb-core-bt.sh index 45b612128e6f..2216e2aba5e5 100755 --- a/solenv/bin/gdb-core-bt.sh +++ b/solenv/bin/gdb-core-bt.sh @@ -29,7 +29,8 @@ then guess=${guess#* execfn: \'} guess=${guess%%\'*} if [ ! -x "$guess" ]; then guess=$EXECUTABLE; fi - gdb -x "$GDBCOMMANDFILE" --batch "$guess" "$COREFILE" && found=x + gdb -iex "add-auto-load-safe-path ${INSTDIR?}" -x "$GDBCOMMANDFILE" --batch "$guess" \ + "$COREFILE" && found=x rm "$GDBCOMMANDFILE" echo fi |