winedbg: Ensure the stack pointer is also passed to StackWalk.
This commit is contained in:
parent
a775d41c10
commit
afcd3a6b1a
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue