GDB in DDT: File format not recognized
Mike
mike at lowland.com
Sat Apr 5 15:56:22 PDT 2014
On Saturday, 5 April 2014 at 18:37:06 UTC, Mike wrote:
> When I try to debug a simple hello world application, I get the
> following error when running a debug build:
>
> Error message from debugger back end [...]hello.exe not in
> executable format: File format not recognized
>
> I'm using MinGW's GDB. The application targets 32bit and GDB is
> also 32-bit:
>
> gdb --version
> GNU gdb (GDB) 7.6.1
> [...]
> This GDB was configured as "mingw32".
>
> I've tried forcing both the -g and -gc options in the dub
> package
> file but the error still exists. Did I mis-configure something?
For those interested, the problem is that dmd supplies symbols in
a format not supported by dgb. You will have to convert these
with cv2pdb or use the gdc compiler.
Also this is not an IDE problem.
More information about the Digitalmars-d-ide
mailing list