Date: Mon, 26 Feb 1996 13:54:57 -0800 (GMT) From: Orlando Andico To: DJGPP Mailing List Subject: GDB woes Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 ------------------------