Article View: gnu.gdb.bug
Article #2086Re: RFE: more than 16-bit line numbers
From: Michael Snyder
Date: Mon, 06 May 2002 17:36
Date: Mon, 06 May 2002 17:36
16 lines
1670 bytes
1670 bytes
Scott McPeak wrote: > > > > 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. Sounds like a reasonable idea -- I'll pass it on to the binutils folks.
Technical Details
Message-ID:
<3CD6BF32.A3B8BA3C@redhat.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news2.euro.net!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdbReferences:
<Pine.LNX.4.33.0205051836270.767-100000@seamonkey.pasture.cow>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,e197600b1dabd7b7 X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 2002-05-06 10:49:57 PST x-uunet-gateway: mr1.ash.ops.us.uu.net from bug-gdb to gnu.gdb.bug; Mon, 6 May 2002 17:49:55 GMT Sender: msnyder@cygnus.com Message-ID: <3CD6BF32.A3B8BA3C@redhat.com> Date: Mon, 06 May 2002 10:36:50 -0700 From: msnyder@redhat.com (Michael Snyder) Organization: Red Hat, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2smp i686) X-Accept-Language: en MIME-Version: 1.0 Subject: Re: RFE: more than 16-bit line numbers References: <Pine.LNX.4.33.0205051836270.767-100000@seamonkey.pasture.cow> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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!newsfeeds.belnet.be!news.belnet.be!news2.euro.net!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb Lines: 16