Commit 4c661dc8 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: Fix for stack symbols on 64bit platform.

parent afcd3a6b
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment