Add MD_OS_PS3 to breakpad and exception types.

A=Jia Ji <jijia@google.com>
Original review: https://breakpad.appspot.com/571002/

Review URL: https://breakpad.appspot.com/574002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1165 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
thestig@chromium.org 2013-04-25 20:36:31 +00:00
parent affac9413b
commit 0bdc714c20
5 changed files with 161 additions and 4 deletions

View file

@ -1950,7 +1950,8 @@ string MinidumpModule::code_identifier() const {
case MD_OS_IOS:
case MD_OS_SOLARIS:
case MD_OS_ANDROID:
case MD_OS_LINUX: {
case MD_OS_LINUX:
case MD_OS_PS3: {
// TODO(mmentovai): support uuid extension if present, otherwise fall
// back to version (from LC_ID_DYLIB?), otherwise fall back to something
// else.
@ -3302,6 +3303,10 @@ string MinidumpSystemInfo::GetOS() {
os = "android";
break;
case MD_OS_PS3:
os = "ps3";
break;
default:
BPLOG(ERROR) << "MinidumpSystemInfo unknown OS for platform " <<
HexString(system_info_.platform_id);