🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2862

problem with #line

#2862
From: Geoffrey D. Alexander
Date: Fri, 09 Feb 1990 15:41
23 lines
1304 bytes
I am having a problem with #line in gcc.  The following illustrates the
problem:

===== test5.c =================================================================
#line 1 "test5.c"
main() {
  exit(0);
}
===============================================================================

When I compile with cc test5.c -g -o test5, dbxtool indicates that the source
file is test5.c.  When I compile with gcc test5.c -g -o test5, dbxtool
indicates that the source file is /test5.c.  This isn't so bad.  However, xdbx
fails to find the source when compile with gcc -- it says that /test5.c cannot
be located.

I am using gcc 1.36 under Sun0S 4.0.3 on SUN3-M60.  If more information is
needed, please let me know.

Geoff Alexander

P.S. The problem may be related to an earlier problem I reported earlier about
multiple source file (multuiple #line directives) and dbxtool.
Technical Details
Message-ID: <9002091541.AA06862@fillmore.cs.unc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!CS.UNC.EDU!alexande

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!CS.UNC.EDU!alexande
From: alexande@CS.UNC.EDU (Geoffrey D. Alexander)
Newsgroups: gnu.gcc.bug
Subject: problem with #line
Message-ID: <9002091541.AA06862@fillmore.cs.unc.edu>
Date: 9 Feb 90 15:41:02 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 23