aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/handler/exception_handler.cc
diff options
context:
space:
mode:
authormmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-01-12 16:54:10 +0000
committermmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-01-12 16:54:10 +0000
commitf614cb984534ce461161aa63230411dc58c72644 (patch)
tree2c2639d540cd68822616a0123341dd2175a3dcea /src/client/windows/handler/exception_handler.cc
parentAdd classes to: walk mach-o files, look for identifiers, and return a 16 byte... (diff)
downloadbreakpad-f614cb984534ce461161aa63230411dc58c72644.tar.xz
Pass the exception record (EXCEPTION_POINTERS*) to callback functions from
ExceptionHandler on Windows. Patch by John Abd-El-Malek. r=me Interface change: post-dump and pre-dump (filter) callbacks now must accept an additional EXCEPTION_POINTERS* argument. git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@103 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/handler/exception_handler.cc')
-rw-r--r--src/client/windows/handler/exception_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/windows/handler/exception_handler.cc b/src/client/windows/handler/exception_handler.cc
index 10d5ec08..31127dda 100644
--- a/src/client/windows/handler/exception_handler.cc
+++ b/src/client/windows/handler/exception_handler.cc
@@ -287,7 +287,7 @@ bool ExceptionHandler::WriteMinidumpWithException(DWORD requesting_thread_id,
// HandleException to call any previous handler or return
// EXCEPTION_CONTINUE_SEARCH on the exception thread, allowing it to appear
// as though this handler were not present at all.
- if (filter_&& !filter_(callback_context_)) {
+ if (filter_&& !filter_(callback_context_, exinfo)) {
return false;
}
@@ -342,7 +342,7 @@ bool ExceptionHandler::WriteMinidumpWithException(DWORD requesting_thread_id,
if (callback_) {
success = callback_(dump_path_c_, next_minidump_id_c_, callback_context_,
- success);
+ exinfo, success);
}
return success;