winedbg: fixed regression in 'info local' command.

This commit is contained in:
Eric Pouech 2005-12-03 18:02:31 +01:00 committed by Alexandre Julliard
parent 1d5adff0f1
commit 28c503a947
1 changed files with 1 additions and 1 deletions

View File

@ -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)))
{