Re: [RFA] Anonymous namespaces and linespecs

Eli Zaretskii
2011-05-20T07:26:15Z

> Date: Thu, 19 May 2011 15:52:12 -0700
> From: Keith Seitz <keiths@redhat.com>
>
> (gdb) b 'FOO::(anonymous namespace)::BAR()'
> Junk at end of arguments.
>
>
> This is happening because along with the physname patch, there was also
> alot of mucking around with decode_line_1 and decode_compound. This is
> fallout from that. [Remember: we used to push almost everything through
> decode_variable -- in which the quoting is /required/.]
>
> If we see "(anonymous namespace)", we must keep it as a significant part
> of the name. On the upside, we now no longer have to quote this stuff,
> either.

This "(anonymous namespace)" thing is not documented anywhere in the
user manual. Should it be?