summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-22 10:43:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-22 10:43:24 +0200
commitd36dc7b3ce28e6fe1590aa7cb72e53e2d745c073 (patch)
tree0eb5df08257eabf4a518a29b117251bae525c294 /solenv
parentd9726a692024e202f0b28a8b6955463f1d90d1e4 (diff)
Temporary debg output to find out why tinderboxes still don't find program
...that dumped a core file. Is it just that the pathname is too long and gets truncated? To be reverted again. Change-Id: I2e571cf7d5d3a128e8875e01df37bfccadefe80a
Diffstat (limited to 'solenv')
-rwxr-xr-xsolenv/bin/gdb-core-bt.sh1
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%%\'*}