aboutsummaryrefslogtreecommitdiff
path: root/src/client/ios/handler
diff options
context:
space:
mode:
authorqsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-03-13 20:02:40 +0000
committerqsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-03-13 20:02:40 +0000
commit1e8d2d5a4c1e0f59d72c726d47d20bf1fe36aac7 (patch)
tree838f6c4c320b6f9b22e1fcf3df1677dcfcad1138 /src/client/ios/handler
parent Change iOS implementation to not use exc_server (diff)
downloadbreakpad-1e8d2d5a4c1e0f59d72c726d47d20bf1fe36aac7.tar.xz
Add high level API for breakpad on iOS.
The new API allows to automatically upload repports to the crash server when the application restarts. This change also: - Correct a bug on the test for correct alignment of the abrt signal handler - Add user friendly information on crashes for SIGABRT and NSException Review URL: https://breakpad.appspot.com/361001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@935 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/ios/handler')
-rw-r--r--src/client/ios/handler/ios_exception_minidump_generator.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/ios/handler/ios_exception_minidump_generator.mm b/src/client/ios/handler/ios_exception_minidump_generator.mm
index 0796c0ec..cd0fe65b 100644
--- a/src/client/ios/handler/ios_exception_minidump_generator.mm
+++ b/src/client/ios/handler/ios_exception_minidump_generator.mm
@@ -29,6 +29,7 @@
#include "client/ios/handler/ios_exception_minidump_generator.h"
+#include "google_breakpad/common/minidump_exception_mac.h"
#include "client/minidump_file_writer-inl.h"
#include "processor/scoped_ptr.h"
@@ -37,7 +38,7 @@ namespace {
const uint32_t kExpectedFinalFp = 4;
const uint32_t kExpectedFinalSp = 0;
const int kExceptionType = EXC_SOFTWARE;
-const int kExceptionCode = 0xDEADBEEF;
+const int kExceptionCode = MD_EXCEPTION_CODE_MAC_NS_EXCEPTION;
// Append the given 4 bytes value to the sp position of the stack represented
// by memory.