Commit 58e08ebc authored by Alexandre Julliard's avatar Alexandre Julliard

dbghelp: Fix broken sw_read_mem() call in i386 stack backtrace.

parent 8c16c403
......@@ -236,7 +236,7 @@ static BOOL i386_stack_walk(struct cpu_stack_walk* csw, LPSTACKFRAME64 frame)
tmp.Offset = OFFSETOF(next_switch);
p = sw_xlat_addr(csw, &tmp);
if (!sw_read_mem(csw->hProcess, p, &frame16, sizeof(frame16)))
if (!sw_read_mem(csw, p, &frame16, sizeof(frame16)))
{
WARN("Bad stack frame 0x%08x\n", p);
goto done_err;
......
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