🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2083

Re: RFE: more than 16-bit line numbers

#2083
From: Scott McPeak
Date: Mon, 06 May 2002 01:40
17 lines
1453 bytes
> > I'm working on a project in which some very long (millions of lines) C
> > source files get generated.  Since GNU 'as' and 'gdb' cannot store more
> > than 16 bits of line number information, debugging programs using these
> > files is tedious.

> Have you tried using -gdwarf-2?

I had not, and that does indeed solve the problem.

In that case, I might change my RFE to request that 'as' emit a warning
when it encodes a stabs n_desc value that does not fit in 16 bits; the
warning might suggest -ggdb or -gdwarf-2.

Thanks,

-Scott
Technical Details
Message-ID: <Pine.LNX.4.33.0205051836270.767-100000@seamonkey.pasture.cow>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newspeer.monmouth.com!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,e197600b1dabd7b7,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-05-05 18:43:19 PST
x-uunet-gateway: mr1.ash.ops.us.uu.net from bug-gdb to gnu.gdb.bug; Mon, 6 May 2002 01:43:17 GMT
From: "Scott McPeak" <smcpeak@cs.berkeley.edu>
Date: Sun, 5 May 2002 18:40:51 -0700
Subject: Re: RFE: more than 16-bit line numbers
Message-ID: <Pine.LNX.4.33.0205051836270.767-100000@seamonkey.pasture.cow>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newspeer.monmouth.com!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb
Sender: bug-gdb-request@mail.gnu.org
Lines: 19