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


>>>>> "Iain" == Iain Buclaw <ibuclaw@gdcproject.org> writes:

Iain> Currently all demangled symbols have to be 'quoted' because they are
Iain> in the format foo.bar.baz.  Incidentally, I was just looking into
Iain> writing a separate expression parser for D (d-exp.y).  I don't suppose
Iain> you'd know off the bat whether - if written properly - it would be
Iain> able to handle D demangled symbols without the need to quote them?

I just replied about this on the D debugger list :)

"break" and some other commands use "linespecs", not expressions.
(Well, in addition to expressions, as you can always "break *EXPR".)
See gdb/linespec.c.

linespec already handles "." as a separator for Java, so it should be
possible to make it work for D.  I don't recall the details; this code's
gone through a lot in the past couple of years (for the better I assure
you :-)

Tom


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