X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Trace-PostClient-IP: 68.147.131.211 From: Brian Inglis Newsgroups: comp.os.msdos.djgpp Subject: Re: Debugging question Organization: Systematic Software Message-ID: References: <412d5bd1$0$10824$afc38c87 AT news DOT optusnet DOT com DOT au> <01c48b21$Blat.v2.2.2$8b6a5600 AT zahav DOT net DOT il> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 26 Date: Thu, 26 Aug 2004 04:30:08 GMT NNTP-Posting-Host: 24.71.223.147 X-Complaints-To: abuse AT shaw DOT ca X-Trace: pd7tw1no 1093494608 24.71.223.147 (Wed, 25 Aug 2004 22:30:08 MDT) NNTP-Posting-Date: Wed, 25 Aug 2004 22:30:08 MDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 26 Aug 2004 07:01:43 +0300 in comp.os.msdos.djgpp, "Eli Zaretskii" wrote: >> From: "alex" >> Date: Thu, 26 Aug 2004 13:41:04 +1000 >> >> When I try to debug/step a program in rhide (have latest releases) >> I keep getting an error >> >> "The program has no useable debugging information, try to compile it with >> the -g switch" >> >> On investigating, -g is already being used as a parameter to gcc (can see >> args when its compiling) > >What is your version of GCC? Try using -gcoff instead of -g. Is there info anywhere on what the DJGPP -g defaults are for each version where it differs, and what gdb, rhide, etc. need for each version where it differs? -- Thanks. Take care, Brian Inglis Calgary, Alberta, Canada Brian DOT Inglis AT CSi DOT com (Brian dot Inglis at SystematicSw dot ab dot ca) fake address use address above to reply