aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/handler/exception_handler.h
diff options
context:
space:
mode:
authornealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-10-27 04:52:16 +0000
committernealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-10-27 04:52:16 +0000
commit3a283d8f8b3875dd080a59b421c2e036a8412ab2 (patch)
treef8cb6a6e65f8101c677b43203a65a8de9ef035e1 /src/client/mac/handler/exception_handler.h
parentIssue 181: Add version info for Mac OS X modules. Found by iterating over lo... (diff)
downloadbreakpad-3a283d8f8b3875dd080a59b421c2e036a8412ab2.tar.xz
Undo suspend/resume feature since it was meant as a workaround to a bug in how we handled child process exceptions. Currently we don't return to the kernel when we take an exception from a child process, causing a hang. Now we return KERN_FAILURE, indicating to the kernel to move on to the host-level exception handler(usually Crash Reporter)
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@292 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/handler/exception_handler.h')
-rw-r--r--src/client/mac/handler/exception_handler.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/client/mac/handler/exception_handler.h b/src/client/mac/handler/exception_handler.h
index 1245c5e6..2a8ee1e4 100644
--- a/src/client/mac/handler/exception_handler.h
+++ b/src/client/mac/handler/exception_handler.h
@@ -114,21 +114,6 @@ class ExceptionHandler {
static bool WriteMinidump(const string &dump_path, MinidumpCallback callback,
void *callback_context);
- // Temporarily stop this class from receiving exceptions
- // Returns true if exception handling was successfully suspended
- // It's an error to call this function if exception handling is
- // not installed(we return false)
- bool SuspendExceptionHandling();
-
- // Resume this class from receiving exceptions
- // Returns true if exception handling was successfully resumed
- // It's an error to call this function if exception handling is
- // already installed
- bool ResumeExceptionHandling();
-
- // Tell caller whether we're setup to handle exceptions or not
- bool ExceptionHandlerIsSuspended();
-
private:
// Install the mach exception handler
bool InstallHandler();