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: [PATCH 3/5] Add d_main_name to dlang.c


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.


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