This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Anonymous namespaces and linespecs


> 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]