(svn r13701) -Codechange: add some more info in crash.log

This commit is contained in:
glx 2008-07-14 20:04:54 +00:00
parent 71820bf129
commit 9895afb43e
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,7 @@
#include <sys/stat.h>
#if defined(_MSC_VER) && !defined(WINCE)
#include <dbghelp.h>
#include "strings_func.h"
#endif
static bool _has_console;
@ -497,6 +498,8 @@ static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
if (_exception_string)
output += sprintf(output, "Reason: %s\r\n", _exception_string);
output += sprintf(output, "Language: %s\r\n", _dynlang.curr_file);
#ifdef _M_AMD64
output += sprintf(output, "Exception %.8X at %.16IX\r\n"
"Registers:\r\n"