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.
Alexandre Julliard
julliard at winehq.org
Thu Apr 8 11:12:42 CDT 2010
Module: wine
Branch: master
Commit: e520605fa90fb16414d879e894aaa854a6fd16b9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e520605fa90fb16414d879e894aaa854a6fd16b9
Author: Eric Pouech <eric.pouech at 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;
}
/******************************************************************
More information about the wine-cvs
mailing list