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
This commit is contained in:
parent
fd98b2af37
commit
f614cb9845
3 changed files with 11 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue