delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/11/06:20:56

Date: Tue, 11 Nov 1997 12:18:52 +0100 (MET)
From: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
To: IC SoBa <ic DOT soba AT spectraweb DOT ch>
cc: DJGPP mailing list <djgpp AT delorie DOT com>
Subject: Re: Debugging with RHIDE
In-Reply-To: <34673A7F.BB368825@spectraweb.ch>
Message-ID: <Pine.LNX.3.95.971111121400.1351N-100000@posaune.hrz.tu-chemnitz.de>
MIME-Version: 1.0

On Mon, 10 Nov 1997, IC SoBa wrote:

> I just started to use RHIDE, but I have a problem with the debugging
> option. When I want to watch an expression or to set a breakpoint (these
> are just examples) RHIDE comes up with an error message as follows:
> 
> "This program has no usable debugging information. Try to compile it
> with the -g switch."

When have your tried to set the breakpoint (or watch expression)?
Before RHIDE has linked your program or after linking?

Have you added the '-s' switch somewhere (in the linker or compiler
options)?

Have you modified the 'main targetname' to be in an other directory than
the current one?

Can you debug the produced executable with gdb?

And a last question (only just in case): Are you using at least
DJGPP 2.0 ? (Sorry for this question, but this is also a possiblilty,
because RHIDE cannot debug DJGPP 1.x programs, at least I think so).

Robert
******************************************************
* Robert Hoehne <robert DOT hoehne AT gmx DOT net>              *
* Post:    Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW:     http://www.tu-chemnitz.de/~sho/rho        *
******************************************************

- Raw text -


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