From 5ad2b69075dc5b984c828f0a4e69b9e105092583 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 13 Apr 2006 21:53:12 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=9881 --- lib/stackwalker_win.cpp | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/lib/stackwalker_win.cpp b/lib/stackwalker_win.cpp index 2e52a225f8..e9918b9f96 100644 --- a/lib/stackwalker_win.cpp +++ b/lib/stackwalker_win.cpp @@ -78,12 +78,24 @@ typedef enum { AddrModeFlat } ADDRESS_MODE; -typedef struct _tagADDRESS64 { +typedef struct _ADDRESS64 { DWORD64 Offset; WORD Segment; ADDRESS_MODE Mode; } ADDRESS64, *LPADDRESS64; +typedef struct _KDHELP64 { + DWORD64 Thread; + DWORD ThCallbackStack; + DWORD ThCallbackBStore; + DWORD NextCallback; + DWORD FramePointer; + DWORD64 KiCallUserMode; + DWORD64 KeUserCallbackDispatcher; + DWORD64 SystemRangeStart; + DWORD64 Reserved[8]; +} KDHELP64, *PKDHELP64; + typedef struct _IMAGEHLP_LINE64 { DWORD SizeOfStruct; // set to sizeof(IMAGEHLP_LINE64) PVOID Key; // internal @@ -123,7 +135,7 @@ typedef struct _SYMBOL_INFO { CHAR Name[1]; // Name of symbol } SYMBOL_INFO, *PSYMBOL_INFO; -typedef struct _tagSTACKFRAME64 { +typedef struct _STACKFRAME64 { ADDRESS64 AddrPC; // program counter ADDRESS64 AddrReturn; // return address ADDRESS64 AddrFrame; // frame pointer