diff options
| author | cdn@chromium.org <cdn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-07-10 18:52:07 +0000 | 
|---|---|---|
| committer | cdn@chromium.org <cdn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-07-10 18:52:07 +0000 | 
| commit | e05aab7b6bbf2e5ddb80c2f5a1192b97be6f4047 (patch) | |
| tree | a99cab04e3b4463d50e11eea4a4c2a7cbc70544d /src/google_breakpad/common | |
| parent | Add Android NDK module definition + sample application (diff) | |
| download | breakpad-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.h | 6 | 
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 | 
