diff options
author | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-07-02 15:36:56 +0000 |
---|---|---|
committer | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-07-02 15:36:56 +0000 |
commit | fb6be7cf42d354518554a1931eaf9cffc310ed2b (patch) | |
tree | b60952b0118fbf17e7d543b9c081a6625714a2ef /src/client/windows/handler/exception_handler.cc | |
parent | Issue 191 - Linux dump_syms produces bad line numbers for some functions (16 ... (diff) | |
download | breakpad-fb6be7cf42d354518554a1931eaf9cffc310ed2b.tar.xz |
Add an API to pass exception information into the handler (#192).
r=ted.mielczarek
http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/42e9ee1a636bca8b
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@191 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/handler/exception_handler.cc')
-rw-r--r-- | src/client/windows/handler/exception_handler.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/windows/handler/exception_handler.cc b/src/client/windows/handler/exception_handler.cc index 5a1444c2..d2c6e7d0 100644 --- a/src/client/windows/handler/exception_handler.cc +++ b/src/client/windows/handler/exception_handler.cc @@ -410,7 +410,11 @@ bool ExceptionHandler::WriteMinidumpOnHandlerThread( } bool ExceptionHandler::WriteMinidump() { - bool success = WriteMinidumpOnHandlerThread(NULL, NULL); + return WriteMinidumpForException(NULL); +} + +bool ExceptionHandler::WriteMinidumpForException(EXCEPTION_POINTERS *exinfo) { + bool success = WriteMinidumpOnHandlerThread(exinfo, NULL); UpdateNextID(); return success; } |