Eric Pouech : winedbg: When filling an imagehlp frame information, also do the stack field, it's used on x86-64 platforms.

Alexandre Julliard julliard at winehq.org
Wed Mar 31 10:04:50 CDT 2010


Module: wine
Branch: master
Commit: ecbf297fbb8c7c3b88e448c1318ea519bd760cae
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ecbf297fbb8c7c3b88e448c1318ea519bd760cae

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Tue Mar 30 21:37:08 2010 +0200

winedbg: When filling an imagehlp frame information, also do the stack field, it's used on x86-64 platforms.

---

 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 f5769a8..4b2286c 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-cvs mailing list