winedbg: When enumerating symbols, only search for locals when name doesn't refer to a module.
Fixed listing twice the same symbol in some commands like 'break foo!bar'. Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4448ef5031
commit
0c474b9fc2
|
@ -421,7 +421,7 @@ enum sym_get_lval symbol_get_lvalue(const char* name, const int lineno,
|
|||
SymSetExtendedOption(SYMOPT_EX_WINE_NATIVE_MODULES, opt);
|
||||
|
||||
/* now grab local symbols */
|
||||
if ((frm = stack_get_curr_frame()) && sgv.num < NUMDBGV)
|
||||
if ((frm = stack_get_curr_frame()) && sgv.num < NUMDBGV && !strchr(name, '!'))
|
||||
{
|
||||
sgv.frame_offset = frm->linear_frame;
|
||||
SymEnumSymbols(dbg_curr_process->handle, 0, name, sgv_cb, (void*)&sgv);
|
||||
|
|
Loading…
Reference in New Issue