Debug on OSX?
Jacob Carlborg
doob at me.com
Tue Sep 6 23:42:29 PDT 2011
On 2011-09-06 18:57, Robert Clipsham wrote:
> On 06/09/2011 07:25, Jacob Carlborg wrote:
>> On 2011-09-06 05:22, Dan Olson wrote:
>>> I tried dmd -gc like on linux but gdb on OSX doesn't seem happy. Is
>>> there a way to get the debuger to work with dmd on OSX?
>>>
>>> Thanks,
>>> Dan
>>
>> There are things that won't work with gdb and dmd on Mac OS X due to a
>> bug in dmd. dmd outputs incorrect DWARF section names, or something like
>> that.
>>
>
> No, it outputs correct section names now, there's some other issue.
Ah, that's good.
> I've tried to track it down but can't find it. One obvious missing step
> is that dmd doesn't currently use dsymutil to generate a dsym file -
> there's no point it doing this though currently as dsymutil crashes on
> binaries produced by dmd. There's something else missing or broken in
> dmd's DWARF output causing dsymutil to crash.
Ok, I see.
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list