Mail Archives: djgpp/1996/02/26/01:09:18
Hello people:
Is there something wrong with my GDB?
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).
So, I decide to set the breakpoint in the *function* included in the
header file, like so:
break init_driver
So GDB replies, "Breakpoint 1 at 0x1bbe: file rtdsp.c, line 138."
(although it really should be file video.h, line 138). Ok, I run the
program. GDB says: "Breakpoint 1, init_driver (vector=128) at rtdsp.c:138
Line number 138 out of range; rtdsp.c has 66 lines.
So what gives?
------------------------
Orlando A. Andico
oandico AT eee DOT upd DOT edu DOT ph
------------------------
- Raw text -