Module: wine Branch: master Commit: 58e08ebc085e91b8ae0eb0eede68a2c67f6af23b URL: http://source.winehq.org/git/wine.git/?a=commit;h=58e08ebc085e91b8ae0eb0eede...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Feb 4 19:24:00 2010 +0100
dbghelp: Fix broken sw_read_mem() call in i386 stack backtrace.
---
dlls/dbghelp/cpu_i386.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dbghelp/cpu_i386.c b/dlls/dbghelp/cpu_i386.c index 32a341f..f3de652 100644 --- a/dlls/dbghelp/cpu_i386.c +++ b/dlls/dbghelp/cpu_i386.c @@ -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;