mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-26 17:25:04 +01:00
Add MD_OS_NACL platform_id value for identifying NaCl minidumps
Change minidump-2-core to accept minidumps with this platform_id value rather than rejecting them as non-Linux dumps. Add a missing "break" for a MD_OS_PS3 case. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3424 TEST= tested with work-in-progress NaCl minidump generator Review URL: https://breakpad.appspot.com/590002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1172 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
b43dacb23a
commit
85c352695f
4 changed files with 15 additions and 3 deletions
|
|
@ -3307,6 +3307,10 @@ string MinidumpSystemInfo::GetOS() {
|
|||
os = "ps3";
|
||||
break;
|
||||
|
||||
case MD_OS_NACL:
|
||||
os = "nacl";
|
||||
break;
|
||||
|
||||
default:
|
||||
BPLOG(ERROR) << "MinidumpSystemInfo unknown OS for platform " <<
|
||||
HexString(system_info_.platform_id);
|
||||
|
|
|
|||
|
|
@ -554,6 +554,12 @@ bool MinidumpProcessor::GetOSInfo(Minidump *dump, SystemInfo *info) {
|
|||
|
||||
case MD_OS_PS3: {
|
||||
info->os = "PS3";
|
||||
break;
|
||||
}
|
||||
|
||||
case MD_OS_NACL: {
|
||||
info->os = "NaCl";
|
||||
break;
|
||||
}
|
||||
|
||||
default: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue