This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Anonymous namespaces and linespecs
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 20 May 2011 10:25:32 +0300
- Subject: Re: [RFA] Anonymous namespaces and linespecs
- References: <4DD59F1C.6040608@redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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?