[PATCH 2/8] [WineDbg]: ensure the stack pointer is also passed to StackWalk

Eric Pouech eric.pouech at orange.fr
Tue Dec 22 07:20:27 CST 2009




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 f448e8b..40e6dae 100644
--- a/programs/winedbg/stack.c
+++ b/programs/winedbg/stack.c
@@ -178,6 +178,7 @@ unsigned stack_fetch_frames(void)
     memset(&sf, 0, sizeof(sf));
     memory_get_current_frame(&sf.AddrFrame);
     memory_get_current_pc(&sf.AddrPC);
+    memory_get_current_stack(&sf.AddrStack);
 
     /* don't confuse StackWalk by passing in inconsistent addresses */
     if ((sf.AddrPC.Mode == AddrModeFlat) && (sf.AddrFrame.Mode != AddrModeFlat))






More information about the wine-patches mailing list