winedbg: fixed regression in 'info local' command.
This commit is contained in:
parent
1d5adff0f1
commit
28c503a947
|
@ -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 New Issue