www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/02/16:20:08

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: possible bug in DJGPP gdb build
Date: 02 Mar 2000 11:26:06 -0800
Organization: InterWorld Communications
Lines: 30
Message-ID: <83em9tuqb5.fsf@mercury.st.hmc.edu>
References: <Pine DOT HPP DOT 3 DOT 96 DOT 1000301172922 DOT 5901A-100000 AT hp2 DOT xraylith DOT wisc DOT edu> <38BDD2A7 DOT 7DD8B76A AT caresystems DOT com DOT au>
NNTP-Posting-Host: mercury.st.hmc.edu
Mime-Version: 1.0
X-Trace: nntp1.interworld.net 952025305 39949 134.173.45.219 (2 Mar 2000 19:28:25 GMT)
X-Complaints-To: usenet AT nntp1 DOT interworld DOT net
NNTP-Posting-Date: 2 Mar 2000 19:28:25 GMT
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

leon <Leon AT caresystems DOT com DOT au> writes:

> Hello everybody
> 
> just wanted to say:
> 
> the problem to be described was not replicated and behaved ok on mingw32
> and cygwin (i have asked those users to test it for me - all came back
> ok)
> 
> but it is evident in djgpp!
> 
> 
> //---------------------------------------------------------------------
> the aim is to put a break point AND list the code within method Go() of
> template class Test
> it is important to have two files - since the error reported by gdb is
> "line 35 is out of range file tmpltest.cpp has 8 lines"
> i think it is becuase the header inclusion adds up to source file but
> then the gdb get confused - but more likely it is me who is confused ;-)

[snip]

It's a known limitation in DJGPP.  See FAQ section 12.8.  If you
compile with -gstabs, this should go away.

-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


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