[Issue 14927] GDB cannot be used to debug D programs on OS X

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Aug 18 08:04:15 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14927

--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Jack Stouffer from comment #2)
> (In reply to Iain Buclaw from comment #1)
> > This is why you must *NEVER* use -gc on Linux/OSX/FreeBSD.  The -gc switch
> > marks all functions as 'C' language functions, and gdb will not attempt to
> > demangle such functions when it loads the symbol table.
> 

I wonder if DMD's choice of emitting symbols as _D3foo3bar instead of
__D3foo3bar is biting them on OSX.

--


More information about the Digitalmars-d-bugs mailing list