Does LDC support debugging on Windows with GDB?

Bruno Medeiros brunodomedeiros+dng at gmail.com
Wed Mar 5 08:41:58 PST 2014


I've installed LDC 0.12.1 with the 
i686-w64-mingw32-gcc-dw2-4.8.0-win32_rubenvb.7z MingW installation.

I've tried compiled a simple program with -g and -gc options, but when I 
start GDB, I get:

Reading symbols from D:\devel\Scratchpad.D\DeeTest\myapp.exe...(no 
debugging symbols found)...done.
(gdb) DW_FORM_strp pointing outside of .debug_str section [in module 
D:\devel\Scratchpad.D\DeeTest\myapp-c.exe]

Is LDC outputting debug information in DWARF format or MSVC's? Or is GDB 
not even supported and I have to use LLDB?

-- 
Bruno Medeiros
https://twitter.com/brunodomedeiros


More information about the digitalmars-d-ldc mailing list