Mail Archives: djgpp/1996/02/27/06:34:37
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.
- Raw text -