.debug_info in gas

Elias Athanasopoulos eathan@otenet.gr
Thu Oct 31 05:03:00 GMT 2002


Hi all,

I had discussed this issue with Richard Henderson a while ago. Pasting the
DWARF3 specification:


7.5  Format of Debugging Information

For each compilation unit compiled with a DWARF Version 3 producer, 
a contribution is made to the .debug_info section of the object file.


At the moment, gas contibutes only the first source file it assembles
in .debug_info. When I proposed to make the change, in order to have
mulitple records in .debug_info for every compilation unit, Richard
told me that this isn't right. Why?

Elias



More information about the Binutils mailing list