summaryrefslogtreecommitdiff
path: root/bin/symstore.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/symstore.sh')
-rwxr-xr-xbin/symstore.sh6
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