Message-ID: <35169BD1.95BE73A8@gmx.net> Date: Mon, 23 Mar 1998 18:28:49 +0100 From: Robert Hoehne Organization: none provided MIME-Version: 1.0 To: Stian Danielsen CC: DJGPP Mailing list Subject: Re: This should be easy... References: <3516411d DOT 548245 AT nntp-oslo DOT uninett DOT no> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Stian Danielsen wrote : > > > Made just to test the debugging. The file is saved with the .cpp > ending. > [snip] > > Anyone got a clue as to what is wrong? This is a problem with a bug of gcc 2.7.x. When you use a C++ source file with the .cpp suffix. gcc places then ever in the object file (where the debuging information is) as the source file the filename but with a .cc suffix. Now (in RHIDE) when you set a breakpoint, RHIDE sets this bp with a (internally) gdb command like: b foo.cpp:13 which should set a breakpoint in file foo.cpp at line 13. But since there is no debug information about file foo.cpp you will get the error message. Solutions for you: 1) Name your C++ source files to have the .cc suffix 2) upgrade to gcc 2.8.0 which has not this bug. Robert -- ****************************************************** * email: Robert Hoehne * * Post: Am Berg 3, D-09573 Dittmannsdorf, Germany * * WWW: http://www.tu-chemnitz.de/~sho/rho * ******************************************************