aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/handler/exception_handler_test.cc
diff options
context:
space:
mode:
authorted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-06-12 20:36:53 +0000
committerted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-06-12 20:36:53 +0000
commit61e88c7ad7eb072977b4d4d26bcf8929b75af2d4 (patch)
tree1a01c4085f3a246fa4d51a8fbe69144544bcb752 /src/client/mac/handler/exception_handler_test.cc
parentFix for generating dumps on-demand to set the requesting thread to the curren... (diff)
downloadbreakpad-61e88c7ad7eb072977b4d4d26bcf8929b75af2d4.tar.xz
issue 323 - OS X exception handler / minidump generator should set exception address correctly for EXC_BAD_ACCESS . r=nealsid at http://breakpad.appspot.com/15002
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@350 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/handler/exception_handler_test.cc')
-rw-r--r--src/client/mac/handler/exception_handler_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mac/handler/exception_handler_test.cc b/src/client/mac/handler/exception_handler_test.cc
index e9d200f9..0a1ecbe7 100644
--- a/src/client/mac/handler/exception_handler_test.cc
+++ b/src/client/mac/handler/exception_handler_test.cc
@@ -51,7 +51,7 @@ static void *SleepyFunction(void *) {
}
static void Crasher() {
- int *a = NULL;
+ int *a = (int*)0x42;
fprintf(stdout, "Going to crash...\n");
fprintf(stdout, "A = %d", *a);