Commit eef72ad2 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: Add some missing symbol flags to pick up local/parameters variables in symbol pickers.

parent ecbf297f
......@@ -227,7 +227,7 @@ enum sym_get_lval symbol_picker_interactive(const char* name, const struct sgv_d
if (sgv->num - sgv->num_thunks > 1 && (sgv->syms[i].flags & SYMFLAG_THUNK) && !DBG_IVAR(AlwaysShowThunks))
continue;
dbg_printf("[%d]: ", i + 1);
if (sgv->syms[i].flags & SYMFLAG_LOCAL)
if (sgv->syms[i].flags & (SYMFLAG_LOCAL | SYMFLAG_PARAMETER))
{
dbg_printf("%s %sof %s\n",
sgv->syms[i].flags & SYMFLAG_PARAMETER ? "Parameter" : "Local variable",
......@@ -276,7 +276,7 @@ enum sym_get_lval symbol_picker_scoped(const char* name, const struct sgv_data*
{
if (sgv->num - sgv->num_thunks > 1 && (sgv->syms[i].flags & SYMFLAG_THUNK) && !DBG_IVAR(AlwaysShowThunks))
continue;
if (sgv->syms[i].flags & SYMFLAG_LOCAL)
if (sgv->syms[i].flags & (SYMFLAG_LOCAL | SYMFLAG_PARAMETER))
{
if (local == -1)
local = i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment