dbghelp: Now that symbol's value computation depend on instruction

pointer value, be sure to always store it (spotted by Peter
Oberndorfer).
This commit is contained in:
Eric Pouech 2006-12-02 17:43:14 +01:00 committed by Alexandre Julliard
parent d6d8682d71
commit 753055f93f
1 changed files with 1 additions and 0 deletions

View File

@ -436,6 +436,7 @@ BOOL WINAPI SymSetContext(HANDLE hProcess, PIMAGEHLP_STACK_FRAME StackFrame,
wine_dbgstr_longlong(pcs->ctx_frame.ReturnOffset),
wine_dbgstr_longlong(pcs->ctx_frame.FrameOffset),
wine_dbgstr_longlong(pcs->ctx_frame.StackOffset));
pcs->ctx_frame.InstructionOffset = StackFrame->InstructionOffset;
SetLastError(ERROR_ACCESS_DENIED); /* latest MSDN says ERROR_SUCCESS */
return FALSE;
}