Mail Archives: djgpp/1996/02/27/22:05:08
Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
:
: 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.
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.
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?!
Junaid
- Raw text -