bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFE: more than 16-bit line numbers


From: Michael Snyder
Subject: Re: RFE: more than 16-bit line numbers
Date: Mon, 06 May 2002 10:36:50 -0700

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]