[Libreoffice-commits] core.git: Branch 'distro/cib/libreoffice-5-2' - bin/symstore.sh
Samuel Mehrbrodt
Samuel.Mehrbrodt at cib.de
Sat Jan 28 04:00:45 UTC 2017
bin/symstore.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 1d7f9ebb0daed7276f6f5f4eed5583a4f1186858
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date: Fri Jan 27 16:57:49 2017 +0100
Symstore: Also add .exe and .dlls to symstore
These are needed when analyzing the minidump.
Change-Id: Ife296c298e3b2f1ca8a47dcbaaf1947e6aefdc81
Reviewed-on: https://gerrit.libreoffice.org/33631
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
(cherry picked from commit 8a0416be440180d0a6cedd449307f6a9bde22eaa)
diff --git a/bin/symstore.sh b/bin/symstore.sh
index 56260c0..b368eb3 100755
--- a/bin/symstore.sh
+++ b/bin/symstore.sh
@@ -6,13 +6,17 @@ add_pdb()
type=$2
list=$3
for file in $(find "${INSTDIR}/" -name "*.${extension}"); do
+ # store dll/exe itself (needed for minidumps)
+ if [ -f "$file" ]; then
+ cygpath -w "$file" >> "$list"
+ fi
+ # store pdb file
filename=$(basename "$file" ".${extension}")
pdb="${WORKDIR}/LinkTarget/${type}/${filename}.pdb"
if [ -f "$pdb" ]; then
cygpath -w "$pdb" >> "$list"
fi
done
-
}
# check preconditions
More information about the Libreoffice-commits
mailing list