delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/29/18:45:10

From: mrchameleon AT hotmail DOT com (Chris Reay)
Newsgroups: comp.os.msdos.djgpp
Subject: gcc -g, but no debugging info?
Date: 29 Oct 2002 15:32:00 -0800
Organization: http://groups.google.com/
Lines: 23
Message-ID: <7652139e.0210291532.7d4ffcf7@posting.google.com>
NNTP-Posting-Host: 211.28.96.9
X-Trace: posting.google.com 1035934320 25869 127.0.0.1 (29 Oct 2002 23:32:00 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 29 Oct 2002 23:32:00 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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.

Chris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019