[Libreoffice-commits] core.git: Branch 'distro/cib/libreoffice-5-0' - bin/symstore.sh

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Sat Jan 28 03:56:19 UTC 2017


 bin/symstore.sh |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit cee7cb1b026cc7609f0a11c05b447f8d686a2d54
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.
    
    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)
    
    Change-Id: Ife296c298e3b2f1ca8a47dcbaaf1947e6aefdc81

diff --git a/bin/symstore.sh b/bin/symstore.sh
index ca5bd30..a81bdd7 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=`echo ${WORKDIR}/LinkTarget/${type}/${filename}.pdb`
         if [ -f "$pdb" ]; then
             echo `cygpath -w $pdb` >>$list
         fi
     done
-
 }
 
 # check preconditions


More information about the Libreoffice-commits mailing list