[PATCH 07/13] [WineDbg]: when filling an imagehlp frame information, also do the stack field, it's used on x86-64 platforms

Eric Pouech eric.pouech at orange.fr
Sat Mar 27 03:08:32 CDT 2010




A+
---

 programs/winedbg/stack.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/programs/winedbg/stack.c b/programs/winedbg/stack.c
index 71f42bc..88c294f 100644
--- a/programs/winedbg/stack.c
+++ b/programs/winedbg/stack.c
@@ -84,6 +84,7 @@ static BOOL stack_get_frame(int nf, IMAGEHLP_STACK_FRAME* ihsf)
     memset(ihsf, 0, sizeof(*ihsf));
     ihsf->InstructionOffset = dbg_curr_thread->frames[nf].linear_pc;
     ihsf->FrameOffset = dbg_curr_thread->frames[nf].linear_frame;
+    ihsf->StackOffset = dbg_curr_thread->frames[nf].linear_stack;
     return TRUE;
 }
 






More information about the wine-patches mailing list