On Tuesday, 27 February 2018 at 18:20:33 UTC, Marc wrote:
What am I missing? I compiled na application with -g flag but
when I do:
gdb --args myapp.exe foo
I get:
Reading symbols from myapp.exe...(no debugging symbols
found)...done.
What am I missing?
because for Windows no DWARF2 debug infos are generated, which
are the ones GDB recognize.
By default they are to the CodeView (CV) format for win32, so
only cdb can be used.
For win64 and mscoff32 it's yet another format (PDB). People use
https://github.com/rainers/mago and
https://github.com/rainers/cv2pdb to convert infos in DlangIDE
and Visual D.