[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 06:15:25 PDT 2015


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

--- Comment #2 from Jack Stouffer <jack at jackstouffer.com> ---
(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.

Compiling with -g -gs doesn't fix any of the above problems. Doing `info
locals` still responds with "No symbol table info available."

--


More information about the Digitalmars-d-bugs mailing list