From 278946c3b551078e0431b5920f113169a9ee8cd4 Mon Sep 17 00:00:00 2001 From: mmentovai Date: Wed, 26 Sep 2007 18:13:38 +0000 Subject: [PATCH] Fix crash reason switching to allow proper behavior for Linux. Spotted by Michael Shang , 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 --- src/processor/minidump_processor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/processor/minidump_processor.cc b/src/processor/minidump_processor.cc index 58b10c78..e7f4b0e6 100644 --- a/src/processor/minidump_processor.cc +++ b/src/processor/minidump_processor.cc @@ -731,8 +731,9 @@ string MinidumpProcessor::GetCrashReason(Minidump *dump, u_int64_t *address) { break; } break; + } - case MD_OS_LINUX: + case MD_OS_LINUX: { switch (exception_code) { case MD_EXCEPTION_CODE_LIN_SIGHUP: reason = "SIGHUP";