Eric Pouech : dbghelp: When trying to enumerate locals & parameters with SymEnumSymbols, don' t return a global or public symbol when the nearest symbol of the current context isn 't a function.
Module: wine Branch: master Commit: e520605fa90fb16414d879e894aaa854a6fd16b9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e520605fa90fb16414d879e894... Author: Eric Pouech <eric.pouech(a)orange.fr> Date: Wed Apr 7 22:23:52 2010 +0200 dbghelp: When trying to enumerate locals & parameters with SymEnumSymbols, don't return a global or public symbol when the nearest symbol of the current context isn't a function. --- dlls/dbghelp/symbol.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/dbghelp/symbol.c b/dlls/dbghelp/symbol.c index e53b583..0eac098 100644 --- a/dlls/dbghelp/symbol.c +++ b/dlls/dbghelp/symbol.c @@ -1037,9 +1037,8 @@ static BOOL symt_enum_locals(struct process* pcs, const char* mask, &((struct symt_function*)sym)->vchildren); regfree(&preg); return ret; - } - return send_symbol(se, &pair, NULL, &sym->symt); + return FALSE; } /******************************************************************
participants (1)
-
Alexandre Julliard