This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] DWARF-2 .debug_line reader


>>>>> "Casey" == Casey Marshall <csm@gnu.org> writes:

>>>>> "Bryce" == Bryce McKinlay <mckinlay@redhat.com> writes:
Bryce> Casey Marshall wrote:

>>> The look-up appears to be correct, for the most part. For some
>>> reason, the line numbers I get for FirstThread are incorrect, but
>>> I don't know why yet.
>>> 
Bryce> Does addr2line give the correct line in this case? I've noticed
Bryce> off-by-one line numbers in some cases, this might be a case of
Bryce> gcj putting the wrong numbers in the debug info.

Casey> I haven't tried addr2line, but gdb gives the correct line. I
Casey> think this is probably just due to a wrong address comparison
Casey> (>= vs. >).

I've fixed this. It was just my not fully understanding what
"appending a row to the matrix" meant exactly.

Revised version of natDwarf2NameFinder.java attached.

-- 
Casey Marshall || csm@gnu.org

Attachment: natDwarf2NameFinder.cc
Description: Text document


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