Commit afcd3a6b authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: Ensure the stack pointer is also passed to StackWalk.

parent a775d41c
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment