From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4691 invoked by alias); 10 Jan 2014 19:36:58 -0000 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 Received: (qmail 4680 invoked by uid 89); 10 Jan 2014 19:36:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qe0-f51.google.com Received: from mail-qe0-f51.google.com (HELO mail-qe0-f51.google.com) (209.85.128.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 10 Jan 2014 19:36:57 +0000 Received: by mail-qe0-f51.google.com with SMTP id 1so4930926qee.24 for ; Fri, 10 Jan 2014 11:36:55 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.49.35.112 with SMTP id g16mr10875154qej.13.1389382614949; Fri, 10 Jan 2014 11:36:54 -0800 (PST) Received: by 10.229.195.196 with HTTP; Fri, 10 Jan 2014 11:36:54 -0800 (PST) In-Reply-To: <87y52n64xv.fsf@fleche.redhat.com> References: <87wqi981ef.fsf@fleche.redhat.com> <87y52n64xv.fsf@fleche.redhat.com> Date: Fri, 10 Jan 2014 19:36:00 -0000 Message-ID: Subject: Re: [PATCH 3/5] Add d_main_name to dlang.c From: Iain Buclaw To: Tom Tromey Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00294.txt.bz2 On 10 January 2014 18:57, Tom Tromey wrote: >>>>>> "Iain" == Iain Buclaw writes: > > Iain> So would you prefer that _Dmain were used here? > > It's fine as-is. > > In that note I was actually asking about the generic problem of > specifying demangled D names to the linespec parser. But since spaces > don't generally appear there, there's no big issue. This is kind of > tangential to the patch at hand, just seeing that space made me wonder. > Currently all demangled symbols have to be 'quoted' because they are in the format foo.bar.baz. Incidentally, I was just looking into writing a separate expression parser for D (d-exp.y). I don't suppose you'd know off the bat whether - if written properly - it would be able to handle D demangled symbols without the need to quote them? Thanks Iain.