diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-01-27 16:57:49 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-03-07 18:24:30 +0100 |
commit | e66486a77e0bcad5e25d64e200e4ce15f0e4bb09 (patch) | |
tree | 4d0435752d74aeddac303836d7e42a02375b717d | |
parent | c4ffb8be22a20a53edbaee8266345896b8e35a96 (diff) |
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>
(cherry picked from commit 8a0416be440180d0a6cedd449307f6a9bde22eaa)
(cherry picked from commit ebe2acbebd8c7f375802f90a12b5d92691932194)
-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 |