[Libreoffice-commits] core.git: 3 commits - bin/symbolstore.py bin/upload_symbols.py Makefile.in

Markus Mohrhard markus.mohrhard at googlemail.com
Mon May 23 21:01:04 UTC 2016


 Makefile.in           |    3 +++
 bin/symbolstore.py    |    2 +-
 bin/upload_symbols.py |    4 ++--
 3 files changed, 6 insertions(+), 3 deletions(-)

New commits:
commit c64119e4f49e74773ad0826f10ebfbe8dd27d2bd
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon May 23 22:59:57 2016 +0200

    fix the crash report location also in another place
    
    Change-Id: I3ab133fbdcdcc8a17ec9159d1c88b19f35b6a7b0

diff --git a/bin/upload_symbols.py b/bin/upload_symbols.py
index 8d99ab9..483ac3b 100644
--- a/bin/upload_symbols.py
+++ b/bin/upload_symbols.py
@@ -12,8 +12,8 @@ def main():
         print("Invalid number of parameters")
         sys.exit(1)
 
-    url = "http://localhost:8000/upload/"
-    files = {'symbols': open(sys.argv[1], 'rb'), 'comment':sys.argv[2]}
+    url = "http://vm171.documentfoundation.org/upload/"
+    files = {'symbols': open(sys.argv[1], 'rb'), 'comment': sys.argv[2]}
     comment = {'comment': sys.argv[2]}
     r = requests.post(url, files = files, data = {"comment":"whatever", "tempt":"tempt"})
     print(r)
commit c7c86b4b3d3ebf323e1c3f13e9e2dff8be61d17d
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon May 23 22:57:56 2016 +0200

    add a build system target to generate the symbol files
    
    Change-Id: Ib690eb05deaec5d8ce91f6b76daadf427d7ad964

diff --git a/Makefile.in b/Makefile.in
index d0c5757..26f9e0e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -380,6 +380,9 @@ findunusedcode:
 findunusedheaders:
 	$(SRCDIR)/bin/find-unusedheaders.pl
 
+symbols:
+	mkdir -p $(WORKDIR)/symbols/
+	$(SRCDIR)/bin/symbolstore.py $(WORKDIR)/UnpackedTarball/breakpad/src/tools/linux/dump_syms/dump_syms $(WORKDIR)/symbols/ $(INSTDIR)/program/*
 
 dump-deps:
 	@$(SRCDIR)/bin/module-deps.pl $(MAKE) $(SRCDIR)/Makefile.gbuild
commit 3f825963973814530752e451fc7155fc054923bd
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon May 23 22:46:28 2016 +0200

    also handle .bin files in the windows symbol code
    
    Change-Id: I85b0490c515987d56e04d0e5b42111c52bbabbc3

diff --git a/bin/symbolstore.py b/bin/symbolstore.py
index 941f448..823be62 100755
--- a/bin/symbolstore.py
+++ b/bin/symbolstore.py
@@ -485,7 +485,7 @@ class Dumper_Win32(Dumper):
         or exe files with the same base name next to them."""
         if file.endswith(".pdb"):
             (path,ext) = os.path.splitext(file)
-            if os.path.isfile(path + ".exe") or os.path.isfile(path + ".dll"):
+            if os.path.isfile(path + ".exe") or os.path.isfile(path + ".dll") or os.path.isfile(path + ".bin"):
                 return True
         return False
 


More information about the Libreoffice-commits mailing list