From 61e88c7ad7eb072977b4d4d26bcf8929b75af2d4 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek" Date: Fri, 12 Jun 2009 20:36:53 +0000 Subject: 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 --- src/client/mac/handler/minidump_generator.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/client/mac/handler/minidump_generator.h') diff --git a/src/client/mac/handler/minidump_generator.h b/src/client/mac/handler/minidump_generator.h index 6a06ed66..8b4f327e 100644 --- a/src/client/mac/handler/minidump_generator.h +++ b/src/client/mac/handler/minidump_generator.h @@ -102,9 +102,11 @@ class MinidumpGenerator { bool Write(const char *path); // Specify some exception information, if applicable - void SetExceptionInformation(int type, int code, mach_port_t thread_name) { + void SetExceptionInformation(int type, int code, int subcode, + mach_port_t thread_name) { exception_type_ = type; exception_code_ = code; + exception_subcode_ = subcode; exception_thread_ = thread_name; } @@ -150,6 +152,7 @@ class MinidumpGenerator { // Exception information int exception_type_; int exception_code_; + int exception_subcode_; mach_port_t exception_thread_; mach_port_t crashing_task_; mach_port_t handler_thread_; -- cgit v1.2.1