diff options
Diffstat (limited to 'linden/indra/newview/llwindebug.cpp')
-rw-r--r-- | linden/indra/newview/llwindebug.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/linden/indra/newview/llwindebug.cpp b/linden/indra/newview/llwindebug.cpp index d0129c8..949ea71 100644 --- a/linden/indra/newview/llwindebug.cpp +++ b/linden/indra/newview/llwindebug.cpp | |||
@@ -92,8 +92,6 @@ LLSD Block for Windows Dump Information | |||
92 | 92 | ||
93 | */ | 93 | */ |
94 | 94 | ||
95 | // From viewer.h | ||
96 | extern BOOL gInProductionGrid; | ||
97 | 95 | ||
98 | extern void (*gCrashCallback)(void); | 96 | extern void (*gCrashCallback)(void); |
99 | 97 | ||
@@ -259,7 +257,7 @@ LLSD WINAPI Get_Exception_Info(PEXCEPTION_POINTERS pException) | |||
259 | LLSD info; | 257 | LLSD info; |
260 | LPWSTR Str; | 258 | LPWSTR Str; |
261 | int Str_Len; | 259 | int Str_Len; |
262 | int i; | 260 | // int i; |
263 | LPWSTR Module_Name = new WCHAR[MAX_PATH]; | 261 | LPWSTR Module_Name = new WCHAR[MAX_PATH]; |
264 | PBYTE Module_Addr; | 262 | PBYTE Module_Addr; |
265 | HANDLE hFile; | 263 | HANDLE hFile; |
@@ -322,11 +320,12 @@ LLSD WINAPI Get_Exception_Info(PEXCEPTION_POINTERS pException) | |||
322 | 320 | ||
323 | 321 | ||
324 | // Save instruction that caused exception. | 322 | // Save instruction that caused exception. |
323 | /* | ||
325 | LLString str; | 324 | LLString str; |
326 | for (i = 0; i < 16; i++) | 325 | for (i = 0; i < 16; i++) |
327 | str += llformat(" %02X", PBYTE(E.ExceptionAddress)[i]); | 326 | str += llformat(" %02X", PBYTE(E.ExceptionAddress)[i]); |
328 | info["Instruction"] = str; | 327 | info["Instruction"] = str; |
329 | 328 | */ | |
330 | LLSD registers; | 329 | LLSD registers; |
331 | registers["EAX"] = (int)C.Eax; | 330 | registers["EAX"] = (int)C.Eax; |
332 | registers["EBX"] = (int)C.Ebx; | 331 | registers["EBX"] = (int)C.Ebx; |