[PATCH 4/7] [DbgHelp]: setting context information
Eric Pouech
eric.pouech at wanadoo.fr
Sat Dec 2 10:43:14 CST 2006
- now that symbol's value computation depend on instruction
pointer value, be sure to always store it
(spotted by Peter Oberndorfer)
A+
---
dlls/dbghelp/dbghelp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/dbghelp/dbghelp.c b/dlls/dbghelp/dbghelp.c
index c95a7e1..c47977e 100644
--- a/dlls/dbghelp/dbghelp.c
+++ b/dlls/dbghelp/dbghelp.c
@@ -436,6 +436,7 @@ BOOL WINAPI SymSetContext(HANDLE hProces
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;
}
More information about the wine-patches
mailing list