[Libreoffice-commits] core.git: external/breakpad

Markus Mohrhard markus.mohrhard at googlemail.com
Sat Jun 25 00:16:02 UTC 2016


 external/breakpad/UnpackedTarball_breakpad.mk |    1 +
 external/breakpad/breakpad-stackwalk.patch.1  |   16 ++++++++++++++++
 2 files changed, 17 insertions(+)

New commits:
commit c717158a82bed756c4d20f6304a29600affa0f66
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sat Jun 25 02:03:47 2016 +0200

    add code_id to the minidump_stackwalk
    
    Change-Id: Ibcc32344780b7ad5814678cf7dd9a2167ede1661
    Reviewed-on: https://gerrit.libreoffice.org/26649
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/external/breakpad/UnpackedTarball_breakpad.mk b/external/breakpad/UnpackedTarball_breakpad.mk
index 59073eb..445047b 100644
--- a/external/breakpad/UnpackedTarball_breakpad.mk
+++ b/external/breakpad/UnpackedTarball_breakpad.mk
@@ -15,6 +15,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,breakpad,\
 	external/breakpad/breakpad-use-correct-http-header.patch.1 \
 	external/breakpad/breakpad-wshadow.patch.1 \
 	external/breakpad/breakpad-wshadow2.patch.1 \
+	external/breakpad/breakpad-stackwalk.patch.1 \
 ))
 
 # vim: set noet sw=4 ts=4:
diff --git a/external/breakpad/breakpad-stackwalk.patch.1 b/external/breakpad/breakpad-stackwalk.patch.1
new file mode 100644
index 0000000..26803f1
--- /dev/null
+++ b/external/breakpad/breakpad-stackwalk.patch.1
@@ -0,0 +1,16 @@
+diff -ur breakpad.org/src/processor/stackwalk_common.cc breakpad/src/processor/stackwalk_common.cc
+--- breakpad.org/src/processor/stackwalk_common.cc	2016-06-25 01:38:53.282302964 +0200
++++ breakpad/src/processor/stackwalk_common.cc	2016-06-25 01:42:58.463821357 +0200
+@@ -767,9 +767,11 @@
+        ++module_sequence) {
+     const CodeModule *module = modules->GetModuleAtSequence(module_sequence);
+     uint64_t base_address = module->base_address();
+-    printf("Module%c%s%c%s%c%s%c%s%c0x%08" PRIx64 "%c0x%08" PRIx64 "%c%d\n",
++    printf("Module%c%s%c%s%c%s%c%s%c%s%c0x%08" PRIx64 "%c0x%08" PRIx64 "%c%d\n",
+            kOutputSeparator,
+            StripSeparator(PathnameStripper::File(module->code_file())).c_str(),
++           kOutputSeparator,
++           StripSeparator(PathnameStripper::File(module->code_identifier())).c_str(),
+            kOutputSeparator, StripSeparator(module->version()).c_str(),
+            kOutputSeparator,
+            StripSeparator(PathnameStripper::File(module->debug_file())).c_str(),


More information about the Libreoffice-commits mailing list