From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21530 invoked by alias); 20 May 2011 07:26:15 -0000 Received: (qmail 21510 invoked by uid 22791); 20 May 2011 07:26:13 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 20 May 2011 07:25:59 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LLH00B00GLR8I00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Fri, 20 May 2011 10:25:30 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.124.254.13]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LLH00AZQGMHC8B0@a-mtaout20.012.net.il>; Fri, 20 May 2011 10:25:30 +0300 (IDT) Date: Fri, 20 May 2011 07:26:00 -0000 From: Eli Zaretskii Subject: Re: [RFA] Anonymous namespaces and linespecs In-reply-to: <4DD59F1C.6040608@redhat.com> To: Keith Seitz Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83vcx5g7f7.fsf@gnu.org> References: <4DD59F1C.6040608@redhat.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00470.txt.bz2 > Date: Thu, 19 May 2011 15:52:12 -0700 > From: Keith Seitz > > (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?