This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Line number notes revamp?


Zack Weinberg <zack@codesourcery.com> writes:

> On Thu, Sep 13, 2001 at 07:00:29AM +0100, Neil Booth wrote:
> > Richard Henderson wrote:-
>> 
>> > > You need column number as well.
>> > 
>> > No I don't.  We don't have one now.  Further, I thought Niel was
>> > talking about hashing file+line+column together into a single number.
>> 
>> No, I've put file + line into a single number, but since we wanted to
>> be able to support really large files, column numbers will be a
>> separate 16-bit quantity to line numbers.  I have no intention of
>> doing much else in this area; I don't think much can be done.
>
> On the other hand, how useful are column numbers at the RTL level?  In
> trees, particularly in VAR_DECLs and the like, I can see it, but not
> when we're talking about whole statements at a time.
>
> It *would* be useful to be able to distinguish multiple statements on
> a line, but (a) I don't think we need the whole column number for
> that, and (b) I've never seen a debugger that could handle it.
> What's DWARF capable of?
It can do it, AFAIK.
We just don't use the info.

>
> zw

-- 
"Ever notice how irons have a setting for *permanent* press?  I
don't get it...
"-Steven Wright


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]