On 2013-09-02 05:46, H. S. Teoh wrote:

I feared as much. :-(

My guess is that gdb actually uses a superset of Dwarf, with its own
idiosyncratic extensions that only gcc knows about.  I remember in the
early days when I was on Solaris, gdb wouldn't understand debugging
symbols from the native Sun compiler, and the native debugger wouldn't
understand gcc debugging symbols, or only understood a subset of it so
certain features are missing.

Which, unfortunately, means that only gdc stands a chance of being
usable with gdb. (Which makes it a very good thing indeed that we have
Iain on board!)

Maybe we should write our own debugger in D ... ;-) (OK, that may be too
big a chunk to chew off right now. But, one can dream.)

There's always LLDB.

--
/Jacob Carlborg

Reply via email to