fix gdb-core-bt

I messed up in
    commit 5440262dd2
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Mon Feb 26 16:04:32 2024 +0200
    Get at least some information out of coredumpctl

Change-Id: I9e5c035c371114077f02f8adef432f742d98b255
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183638
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2025-04-02 20:38:11 +02:00
parent ff3c48c213
commit dc6442d445
-1
View File
@@ -48,7 +48,6 @@ then
# or multiple matching core dumps have identical PIDs):
for i in $($COREDUMPCTL --json=short list COREDUMP_USER_UNIT="$LIBO_TEST_UNIT".scope | \
$JQ -r 'map(select(.corefile=="present"))|map(.pid)|join(" ")')
for i in $($COREDUMPCTL -q -r -1 list | cut -f 2)
do
GDBCOMMANDFILE=$(mktemp)
printf 'info registers\nthread apply all backtrace full\n' >"$GDBCOMMANDFILE"