Eric Pouech : winedbg: fixed regression in 'info local' command.

Alexandre Julliard julliard at wine.codeweavers.com
Sat Dec 3 12:31:11 CST 2005


Module: wine
Branch: refs/heads/master
Commit: 28c503a947ee1e8498fbc5ea3be139d162677544
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=28c503a947ee1e8498fbc5ea3be139d162677544

Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date:   Sat Dec  3 18:02:31 2005 +0100

winedbg: fixed regression in 'info local' command.

---

 programs/winedbg/symbol.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/winedbg/symbol.c b/programs/winedbg/symbol.c
index 65a0bf7..1118fc0 100644
--- a/programs/winedbg/symbol.c
+++ b/programs/winedbg/symbol.c
@@ -579,7 +579,7 @@ static BOOL CALLBACK info_locals_cb(SYMB
     else if (sym->Flags & SYMFLAG_LOCAL)
     {
         type.id = sym->TypeIndex;
-        v = ((IMAGEHLP_STACK_FRAME*)ctx)->FrameOffset + sym->Address;
+        v = (ULONG)ctx + sym->Address;
 
         if (!dbg_read_memory((void*)v, &val, sizeof(val)))
         {




More information about the wine-cvs mailing list