Fix crash reason switching to allow proper behavior for Linux. Spotted by

Michael Shang <satisfy123>, mentioned in issue #200.  r=me

http://groups.google.com/group/google-breakpad-discuss/browse_thread/thread/2fba07577f1fa35e


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@214 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
mmentovai 2007-09-26 18:13:38 +00:00
parent 0e6f5c95d7
commit 278946c3b5

View file

@ -731,8 +731,9 @@ string MinidumpProcessor::GetCrashReason(Minidump *dump, u_int64_t *address) {
break; break;
} }
break; break;
}
case MD_OS_LINUX: case MD_OS_LINUX: {
switch (exception_code) { switch (exception_code) {
case MD_EXCEPTION_CODE_LIN_SIGHUP: case MD_EXCEPTION_CODE_LIN_SIGHUP:
reason = "SIGHUP"; reason = "SIGHUP";