gdb + Windows 64: No debugging symbols found

Basile B. b2.temp at gmx.com
Sat Dec 26 14:10:46 UTC 2020


On Saturday, 26 December 2020 at 11:55:58 UTC, Виталий Фадеев 
wrote:
> We have:
> [...]
> Problem is:
>     $ gdb ./app.exe
>     GNU gdb (GDB) 9.2
>     ...
>     (No debugging symbols found in ./app.exe)
>
> What is a right way to build .exe and debug with gdb ?

Try to build with latest version of LDC and use the -gdwarf 
option.
This will generate debug info that GDB can understand.


More information about the Digitalmars-d-learn mailing list