www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/27/22:05:08

Xref: news2.mv.net comp.os.msdos.djgpp:1489
From: junaid AT silas DOT cc DOT monash DOT edu DOT au (Mr A. Walker)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I love GDB
Date: 28 Feb 1996 00:00:50 GMT
Organization: Monash University
Lines: 32
Message-ID: <4h05vi$gkl@harbinger.cc.monash.edu.au>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 960227132058 DOT 9413D-100000 AT is>
NNTP-Posting-Host: silas.cc.monash.edu.au
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


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