From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12256 invoked by alias); 29 Aug 2011 19:18:38 -0000 Received: (qmail 12231 invoked by uid 22791); 29 Aug 2011 19:18:37 -0000 X-SWARE-Spam-Status: No, hits=-7.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Aug 2011 19:18:16 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7TJIEB7001565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 29 Aug 2011 15:18:14 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p7TJIERm017405; Mon, 29 Aug 2011 15:18:14 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p7TJICbj006632; Mon, 29 Aug 2011 15:18:12 -0400 From: Tom Tromey To: Eli Zaretskii Cc: keiths@redhat.com, gdb-patches@sourceware.org Subject: Re: [RFA] 12843 References: <4E56C5A0.60802@redhat.com> <4E57E9EC.8060706@redhat.com> <83liuffdlo.fsf@gnu.org> Date: Mon, 29 Aug 2011 19:18:00 -0000 In-Reply-To: <83liuffdlo.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Aug 2011 11:44:19 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-08/txt/msg00576.txt.bz2 >>>>> "Eli" == Eli Zaretskii writes: Tom> I am not sure how to handle file names with quotes; IIUC typical Tom> escaping syntax won't work because it is already used in DOS-style file Tom> names. This matters since I think MI clients already have to play funny Tom> games here :-( Eli> Can we standardize on quoting with ".." instead? I don't think so, because that is already accepted by linespec, so compatibility problems apply. Eli> If we must use '..' style quoting, then how about doubling the ' to Eli> express a literal quote character? It would work for me. Tom> Furthermore I think that quoted text should always be a token: we should Tom> not try to extend the token boundaries or break the token up. That is: Tom> Valid: break 'file.c':function Tom> Invalid: break 'file.c:function' Tom> Invalid: break 'file'.c:function Eli> What about these: Eli> break 'file with spaces.c:function:with:colons' Eli> break 'file with spaces.c':'function:with:colons' Eli> ? Do you propose just the latter to be valid? Yes, just the latter. The former would attempt to find a function with the quoted name, following the "quoted text is a single token" rule. Tom