From: Andris Organization: Pavenis To: djgpp AT delorie DOT com, mrchameleon AT hotmail DOT com (Chris Reay) Subject: Re: gcc -g, but no debugging info? Date: Wed, 30 Oct 2002 10:22:39 +0200 User-Agent: KMail/1.4.7 References: <7652139e DOT 0210291532 DOT 7d4ffcf7 AT posting DOT google DOT com> In-Reply-To: <7652139e.0210291532.7d4ffcf7@posting.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Message-Id: <200210301022.39526.pavenis@lanet.lv> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g9U7LuW14751 Reply-To: djgpp AT delorie DOT com On Wednesday 30 October 2002 01:32, Chris Reay wrote: > Hi > > 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)... > > gcc and gdb come from www.delorie.com. Thanks for any help. Try newer GDB. gdb-4.18 is very old. Currently later is 5.2.1