aboutsummaryrefslogtreecommitdiff
path: root/src/google_breakpad/common
diff options
context:
space:
mode:
authorcdn@chromium.org <cdn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-07-10 18:52:07 +0000
committercdn@chromium.org <cdn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-07-10 18:52:07 +0000
commite05aab7b6bbf2e5ddb80c2f5a1192b97be6f4047 (patch)
treea99cab04e3b4463d50e11eea4a4c2a7cbc70544d /src/google_breakpad/common
parentAdd Android NDK module definition + sample application (diff)
downloadbreakpad-e05aab7b6bbf2e5ddb80c2f5a1192b97be6f4047.tar.xz
Add the capability to include an arbitrary data stream within minidumps
This is supplied via a custom field "custom-data-stream" Review URL: https://breakpad.appspot.com/408002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@984 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/google_breakpad/common')
-rw-r--r--src/google_breakpad/common/minidump_format.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/google_breakpad/common/minidump_format.h b/src/google_breakpad/common/minidump_format.h
index a43e2292..94dd706d 100644
--- a/src/google_breakpad/common/minidump_format.h
+++ b/src/google_breakpad/common/minidump_format.h
@@ -331,7 +331,8 @@ typedef enum {
/* Breakpad extension types. 0x4767 = "Gg" */
MD_BREAKPAD_INFO_STREAM = 0x47670001, /* MDRawBreakpadInfo */
- MD_ASSERTION_INFO_STREAM = 0x47670002 /* MDRawAssertionInfo */
+ MD_ASSERTION_INFO_STREAM = 0x47670002, /* MDRawAssertionInfo */
+ MD_CUSTOM_DATA_STREAM = 0x47670003 /* MDRawCustomDataStream */
} MDStreamType; /* MINIDUMP_STREAM_TYPE */
@@ -724,6 +725,9 @@ typedef enum {
* Breakpad extension types
*/
+typedef struct {
+ u_int8_t stream[1];
+} MDRawCustomDataStream;
typedef struct {
/* validity is a bitmask with values from MDBreakpadInfoValidity, indicating