Eric Pouech : winedbg: Fix for stack symbols on 64bit platform.

Alexandre Julliard julliard at winehq.org
Tue Dec 22 09:59:01 CST 2009


Module: wine
Branch: master
Commit: 4c661dc822a7aa877668d8c4bda666bbb81d0538
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4c661dc822a7aa877668d8c4bda666bbb81d0538

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Tue Dec 22 14:20:38 2009 +0100

winedbg: Fix for stack symbols on 64bit platform.

---

 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 ca2feee..1e32bc6 100644
--- a/programs/winedbg/symbol.c
+++ b/programs/winedbg/symbol.c
@@ -85,7 +85,7 @@ static BOOL fill_sym_lvalue(const SYMBOL_INFO* sym, ULONG_PTR base,
         if (!memory_get_register(sym->Register, &pval, buffer, sz))
             return FALSE;
         lvalue->cookie = DLV_TARGET;
-        lvalue->addr.Offset = (ULONG)((ULONG64)*pval + sym->Address);
+        lvalue->addr.Offset = (ULONG64)*pval + sym->Address;
     }
     else if (sym->Flags & SYMFLAG_VALUEPRESENT)
     {




More information about the wine-cvs mailing list