Date: Tue, 27 Feb 1996 13:23:08 +0200 (IST) From: Eli Zaretskii To: Orlando Andico Cc: j DOT aldrich6 AT genie DOT com, djgpp AT delorie DOT com Subject: Re: I love GDB In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 27 Feb 1996, Orlando Andico wrote: > > I want to set a breakpoint in a header file, not the main C program. So I > > say something like: > > > > break video.h:138 > > > > (which seems to be the correct invocation, says the holy Info). GDB > > replies, "no source file named video.h" (even though I'm *sure* my main > > program includes this header). > > I have determined that this problem does *not* appear under Linux, only > with the GDB I'm using with V2. Someone has written me that this is a > probable *known bug* with GDB; but Linux works fine... 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.