------------------------------------------------------------------------------
namespace A
{
int variableq = 1;
namespace B
{
int variabler = 2;
}
}
int
main (void)
{
return A::variableq + A::B::variabler;
}
------------------------------------------------------------------------------
(gdb) p var<tab>
->
(gdb) p variableq
No symbol "variableq" in current context.
In this case current FSF GDB HEAD behavior is the only correct one.
The completion patch must follow the existing / non-existing "using namespace"
directives. The patch must be integrated with `struct using_direct' lists
tracked by Sami Wagiaalla's using_directive infrastructure.
Thanks for picking this up.
Thanks,
Jan