Hi All,

We are having some doubts while building elf's using new GCC (4.8.1) with 
DWARF-4. When we build elfs with "-gdwarf-4", and analyzed the parsed details 
using "readelf", 

1. It was seen that the ".debug_line" section always shows the version as "2". 
But from Appendix F of DWARF 4 spec(page 289, figure 97), we expect it to be 
"4". Can anyone please clarify why version number of ".debug_line" section is 
"2" instead of "4". Is it that we need to manually add some other option while 
building elf?

2. Also, the new section ".debug_types"  was not there, when the elf was built 
with option "-fdebug-types-section".  We were using a simple CPP program 
without any structures/enum etc in it. Could this be the reason?


Expecting your swift response....


Regards,
Malu


***** Confidentiality Statement/Disclaimer *****

This message and any attachments is intended for the sole use of the intended 
recipient. It may contain confidential information. Any unauthorized use, 
dissemination or modification is strictly prohibited. If you are not the 
intended recipient, please notify the sender immediately then delete it from 
all your systems, and do not copy, use or print. Internet communications are 
not secure and it is the responsibility of the recipient to make sure that it 
is virus/malicious code exempt.
The company/sender cannot be responsible for any unauthorized alterations or 
modifications made to the contents. If you require any form of confirmation of 
the contents, please contact the company/sender. The company/sender is not 
liable for any errors or omissions in the content of this message.

_______________________________________________
Dwarf-Discuss mailing list
Dwarf-Discuss@lists.dwarfstd.org
http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org

Reply via email to