mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-29 10:45:28 +01:00
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
3
src/processor/testdata/test_app.cc
vendored
3
src/processor/testdata/test_app.cc
vendored
|
|
@ -40,7 +40,8 @@
|
|||
namespace {
|
||||
|
||||
static bool callback(const wchar_t *dump_path, const wchar_t *id,
|
||||
void *context, bool succeeded) {
|
||||
void *context, EXCEPTION_POINTERS *exinfo,
|
||||
bool succeeded) {
|
||||
if (succeeded) {
|
||||
printf("dump guid is %ws\n", id);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue