Eric Pouech : winedbg: Ensure the stack pointer is also passed to StackWalk .
Alexandre Julliard
julliard at winehq.org
Tue Dec 22 09:59:01 CST 2009
Module: wine
Branch: master
Commit: afcd3a6b1a1c7c8ebdc640e9647534bbf9c0f252
URL: http://source.winehq.org/git/wine.git/?a=commit;h=afcd3a6b1a1c7c8ebdc640e9647534bbf9c0f252
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Tue Dec 22 14:20:27 2009 +0100
winedbg: Ensure the stack pointer is also passed to StackWalk.
---
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-cvs
mailing list