diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-01-27 16:57:49 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-01-28 03:45:49 +0000 |
commit | 8a0416be440180d0a6cedd449307f6a9bde22eaa (patch) | |
tree | 44dc96b89d05e10775f654e10e0f1b03d04817f2 /bin | |
parent | tdf#86214 User isn't warned entering a cell address not allowed (diff) | |
download | core-8a0416be440180d0a6cedd449307f6a9bde22eaa.tar.gz core-8a0416be440180d0a6cedd449307f6a9bde22eaa.zip |
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@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/symstore.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/symstore.sh b/bin/symstore.sh index 56260c0b3906..b368eb3e6715 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 |