Mail Archives: djgpp/2002/10/30/09:17:59
On 29 Oct 2002, Chris Reay wrote:
> I'm a newbie, so please excuse my ignorance. I can't seem to get
> debugging info into my exe's, as this snippet shows:
>
> C:\Nensuite>gcc -Wall -g -o hello.exe hello.c
>
> C:\Nensuite>gdb hello.exe
> GNU gdb 4.18
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and
> you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "i386-pc-msdosdjgpp"...
> (no debugging symbols found)...
GDB 4.18 doesn't support the debug info format used by the latest GCC.
Upgrade to the latest GDB 5.2.1, and things will begin to work.
- Raw text -