Date: Wed, 28 Feb 1996 08:39:36 +0200 (IST) From: Eli Zaretskii To: "Mr A. Walker" Cc: djgpp AT delorie DOT com Subject: Re: I love GDB In-Reply-To: <4h05vi$gkl@harbinger.cc.monash.edu.au> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 28 Feb 1996, Mr A. Walker wrote: > : Make sure you run the same version of GDB on Linux as you do under DJGPP. > : The latest version of GDB is 4.15, but DJGPP still has only 4.12. That > : bug could have been corrected in the version you have on Linux. > > I bet the problem would occur in v4.15, as it occurs for me in > v4.14. From the sources it might be due to MSDOS not understanding the > PATH enviornment variable (colon seperated). I'm really too lazy to > fix this, since most other things work for me. How can any problem with PATH be related to this bug, whereby GDB apparently doesn't get enough info from the pre-processor to be able to debug code whose source is on a header file #include'd by a source file? > Also i dont think you can put breakpoints in headerfiles or > inlined code because there is no corresponding object file to get line > info from ; the main object file references the C source file and that's > it?! That's *exactly* the problem of the original poster: some of his functions were defined on a header file.