Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(85)

Issue 405002: Add MD_OS_ANDROID definition. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by digit
Modified:
12 years, 4 months ago
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Add MD_OS_ANDROID definition.

In order to better distinguish Android and Linux minidumps, introduce
a new MD_OS_ANDROID definition, and modify related source code accordingly.

Also append the build-fingerprint to the minidump location descriptor.
This gives more information about the system image the device runs on.
Committed: https://code.google.com/p/google-breakpad/source/detail?r=981

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/linux/minidump_writer/minidump_writer.cc View 1 2 3 4 5 3 chunks +24 lines, -0 lines 1 comment Download
M src/google_breakpad/common/minidump_format.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/processor/exploitability.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/processor/minidump.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M src/processor/minidump_processor.cc View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 12
digit
For the record, I only tested that: 1/ This doesn't break the Android client library ...
12 years, 5 months ago #1
Mark Mentovai
https://breakpad.appspot.com/405002/diff/1/src/client/linux/minidump_writer/minidump_writer.cc File src/client/linux/minidump_writer/minidump_writer.cc (right): https://breakpad.appspot.com/405002/diff/1/src/client/linux/minidump_writer/minidump_writer.cc#newcode1274 src/client/linux/minidump_writer/minidump_writer.cc:1274: #define SEPARATOR " " Huh? https://breakpad.appspot.com/405002/diff/1/src/client/linux/minidump_writer/minidump_writer.cc#newcode1276 src/client/linux/minidump_writer/minidump_writer.cc:1276: size_t separator_len ...
12 years, 5 months ago #2
digit
http://breakpad.appspot.com/405002/diff/1/src/client/linux/minidump_writer/minidump_writer.cc File src/client/linux/minidump_writer/minidump_writer.cc (right): http://breakpad.appspot.com/405002/diff/1/src/client/linux/minidump_writer/minidump_writer.cc#newcode1276 src/client/linux/minidump_writer/minidump_writer.cc:1276: size_t separator_len = sizeof(SEPARATOR)-1; On 2012/06/28 14:31:45, Mark Mentovai ...
12 years, 5 months ago #3
digit
All points fixed in path set 3. thanks.
12 years, 5 months ago #4
Mark Mentovai
http://breakpad.appspot.com/405002/diff/8001/src/client/linux/minidump_writer/minidump_writer.cc File src/client/linux/minidump_writer/minidump_writer.cc (right): http://breakpad.appspot.com/405002/diff/8001/src/client/linux/minidump_writer/minidump_writer.cc#newcode1310 src/client/linux/minidump_writer/minidump_writer.cc:1310: strlcat(buf,fingerprint,buf_len); Spaces after the commas. http://breakpad.appspot.com/405002/diff/8001/src/client/linux/minidump_writer/minidump_writer.cc#newcode1311 src/client/linux/minidump_writer/minidump_writer.cc:1311: space_left -= ...
12 years, 4 months ago #5
digit
http://breakpad.appspot.com/405002/diff/8001/src/client/linux/minidump_writer/minidump_writer.cc File src/client/linux/minidump_writer/minidump_writer.cc (right): http://breakpad.appspot.com/405002/diff/8001/src/client/linux/minidump_writer/minidump_writer.cc#newcode1310 src/client/linux/minidump_writer/minidump_writer.cc:1310: strlcat(buf,fingerprint,buf_len); On 2012/06/29 16:15:36, Mark Mentovai wrote: > Spaces ...
12 years, 4 months ago #6
Mark Mentovai
http://breakpad.appspot.com/405002/diff/8003/src/client/linux/minidump_writer/minidump_writer.cc File src/client/linux/minidump_writer/minidump_writer.cc (right): http://breakpad.appspot.com/405002/diff/8003/src/client/linux/minidump_writer/minidump_writer.cc#newcode1307 src/client/linux/minidump_writer/minidump_writer.cc:1307: space_left -= separator_len; space_left is still in here?
12 years, 4 months ago #7
digit
http://breakpad.appspot.com/405002/diff/8003/src/client/linux/minidump_writer/minidump_writer.cc#newcode1307 > src/client/linux/minidump_writer/minidump_writer.cc:1307: space_left -= > separator_len; > space_left is still in here? Fixed in ...
12 years, 4 months ago #8
Mark Mentovai
LGTM otherwise http://breakpad.appspot.com/405002/diff/13001/src/client/linux/minidump_writer/minidump_writer.cc File src/client/linux/minidump_writer/minidump_writer.cc (right): http://breakpad.appspot.com/405002/diff/13001/src/client/linux/minidump_writer/minidump_writer.cc#newcode1303 src/client/linux/minidump_writer/minidump_writer.cc:1303: static const char* separator = " "; ...
12 years, 4 months ago #9
digit
http://breakpad.appspot.com/405002/diff/13001/src/client/linux/minidump_writer/minidump_writer.cc File src/client/linux/minidump_writer/minidump_writer.cc (right): http://breakpad.appspot.com/405002/diff/13001/src/client/linux/minidump_writer/minidump_writer.cc#newcode1303 src/client/linux/minidump_writer/minidump_writer.cc:1303: static const char* separator = " "; I agree, ...
12 years, 4 months ago #10
Mark Mentovai
LGTM
12 years, 4 months ago #11
Ted Mielczarek
12 years, 4 months ago #12
https://breakpad.appspot.com/405002/diff/1008/src/client/linux/minidump_write...
File src/client/linux/minidump_writer/minidump_writer.cc (right):

https://breakpad.appspot.com/405002/diff/1008/src/client/linux/minidump_write...
src/client/linux/minidump_writer/minidump_writer.cc:1307: }
Late to the party, but I was hoping we'd be able to get the Android OS version
and stick it in the minidump version field in place of the kernel version, since
that's almost never useful.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted