Eric Pouech : dbghelp: Now that symbol'
s value computation depend on instruction
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Dec 4 07:17:17 CST 2006
Module: wine
Branch: master
Commit: 753055f93f82b2d669ecb099ed255d980326c896
URL: http://source.winehq.org/git/wine.git/?a=commit;h=753055f93f82b2d669ecb099ed255d980326c896
Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date: Sat Dec 2 17:43:14 2006 +0100
dbghelp: Now that symbol's value computation depend on instruction
pointer value, be sure to always store it (spotted by Peter
Oberndorfer).
---
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-cvs
mailing list