Index: src/client/mac/handler/exception_handler.h |
=================================================================== |
--- src/client/mac/handler/exception_handler.h (revision 1014) |
+++ src/client/mac/handler/exception_handler.h (working copy) |
@@ -182,10 +182,13 @@ |
// success, false otherwise. |
bool SendMessageToHandlerThread(HandlerThreadMessage message_id); |
- // All minidump writing goes through this one routine |
+ // All minidump writing goes through this one routine. |
+ // |task_context| can be NULL. If not, it will be used to retrieve the |
+ // context of the current thread, instead of using |thread_get_state|. |
bool WriteMinidumpWithException(int exception_type, |
int exception_code, |
int exception_subcode, |
+ ucontext_t *task_context, |
mach_port_t thread_name, |
bool exit_after_write, |
bool report_current_thread); |