Date: Wed, 30 Oct 2002 16:17:54 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Chris Reay cc: djgpp AT delorie DOT com Subject: Re: gcc -g, but no debugging info? In-Reply-To: <7652139e.0210291532.7d4ffcf7@posting.google.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.