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:
parent
d6d8682d71
commit
753055f93f
|
@ -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.ReturnOffset),
|
||||||
wine_dbgstr_longlong(pcs->ctx_frame.FrameOffset),
|
wine_dbgstr_longlong(pcs->ctx_frame.FrameOffset),
|
||||||
wine_dbgstr_longlong(pcs->ctx_frame.StackOffset));
|
wine_dbgstr_longlong(pcs->ctx_frame.StackOffset));
|
||||||
|
pcs->ctx_frame.InstructionOffset = StackFrame->InstructionOffset;
|
||||||
SetLastError(ERROR_ACCESS_DENIED); /* latest MSDN says ERROR_SUCCESS */
|
SetLastError(ERROR_ACCESS_DENIED); /* latest MSDN says ERROR_SUCCESS */
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue