mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
winedbg: fixed regression in 'info local' command.
This commit is contained in:
parent
1d5adff0f1
commit
28c503a947
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ static BOOL CALLBACK info_locals_cb(SYMBOL_INFO* sym, ULONG size, void* ctx)
|
|||
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)))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue