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
|
|
@ -425,8 +425,9 @@ ParseSystemInfo(CrashedProcess* crashinfo, const MinidumpMemoryRange& range,
|
|||
#error "This code has not been ported to your platform yet"
|
||||
#endif
|
||||
if (!strstr(full_file.GetAsciiMDString(sysinfo->csd_version_rva).c_str(),
|
||||
"Linux")) {
|
||||
fprintf(stderr, "This minidump was not generated by Linux.\n");
|
||||
"Linux") &&
|
||||
sysinfo->platform_id != MD_OS_NACL) {
|
||||
fprintf(stderr, "This minidump was not generated by Linux or NaCl.\n");
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue