This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/5] Add d_main_name to dlang.c
- From: Iain Buclaw <ibuclaw at gdcproject dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 10 Jan 2014 19:36:54 +0000
- Subject: Re: [PATCH 3/5] Add d_main_name to dlang.c
- Authentication-results: sourceware.org; auth=none
- References: <CABOHX+cKZ6+1H3DyHw6ZsOZHAu7_pvaE2KyGPqh9DKvC2n3tCg at mail dot gmail dot com> <87wqi981ef dot fsf at fleche dot redhat dot com> <CABOHX+cigsKTQrp8zL7ystDjv4W=enSf84wy3YoFXrK9jXVpAw at mail dot gmail dot com> <CABOHX+ehkKD3rrFzXK86s5G1aYb65AQePABohSuAp0HAW7Mzpw at mail dot gmail dot com> <87y52n64xv dot fsf at fleche dot redhat dot com>
On 10 January 2014 18:57, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Iain" == Iain Buclaw <ibuclaw@gdcproject.org> 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.