How possible is it to put DWARF debug infos in MSCOFF objects ?

Andre Pany andre at s-e-a-p.de
Fri Aug 17 19:45:35 UTC 2018


On Friday, 17 August 2018 at 19:35:40 UTC, Basile B. wrote:
> On Friday, 17 August 2018 at 19:28:47 UTC, Basile B. wrote:
>> Now that -m64 + LLD + MINGW works, the question is obvious.
>>
>> The background idea is of course to allow the use of GDB under 
>> Windows. At first glance the debug info API is not uniform. 
>> This is visible if you compare dmd.backend.dwarf and 
>> dmd.backend.cgcv and the naive idea which would be to replace 
>> all the calls starting with 'cv8_' with their "dwarf_" 
>> equivalent won't work (let's say to test in a first time, 
>> later a new compiler switch could be added to select the debug 
>> info format).

Just to make sure, do you know Mago-Mi? It is the Mago debug 
engine with a GDB compatible interface. That means at every place 
GBD is supported, also Mago-Mi can be used.
For example IntelliJ D Language plugin or Visual Studio Code or 
DlangIDE...

Unfortunately Mago-Mi has some issues, written down here
https://wiki.dlang.org/SAOC_2018_ideas#Multi_IDE_debugger_support_.28for_windows.29

Kind regards
André


More information about the Digitalmars-d mailing list