[Lazarus] RE : RE : RE : Generating line info
Ludo Brands
ludo.brands at free.fr
Tue Sep 20 13:35:51 CEST 2011
> Not sure what you mean?
>
> I get stacktraces from infodwrf (but also tested the lineinfo/stabs
> ones), and have copy and pasted them a thousand times into leak-view.
>
> It works perfect. (though I believe, if I miss some of the leading
> spaces on the first line, it sometimes starts from the 2nd line...)
>
Lnfodwrf assumes that line info blocks are stored contiguously. Changes in
fpc introduce sometimes "garbage" between blocks and make Lnfodwrf crash. So
as long as you use an "old" fpc, there is no problem. I haven't found out
yet which revision introduced the problem. A 2.5.1 from april is working
fine. Dwarf specs say that .debug_info compilatation units have to be parsed
to find the offset in .debug_line. Garbage between blocks is perfectly
allowed. Alligning coudl be a reason for introcuding garbage. Lnfodwrf skips
parsing .debug_info.
Ludo
More information about the Lazarus
mailing list