www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/27/06:34:37

Date: Tue, 27 Feb 1996 13:23:08 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Orlando Andico <oandico AT eee DOT upd DOT edu DOT ph>
Cc: j DOT aldrich6 AT genie DOT com, djgpp AT delorie DOT com
Subject: Re: I love GDB
In-Reply-To: <Pine.SOL.3.91.960227174853.3630A-100000@gollum>
Message-Id: <Pine.SUN.3.91.960227132058.9413D-100000@is>
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019