Re: [Dwarf-Discuss] Doubts in DWARF spec 4

2013-11-12 Thread Cary Coutant
> 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

Re: [Dwarf-Discuss] Doubts in DWARF spec 4

2013-11-12 Thread Ian Lance Taylor
On Mon, Nov 11, 2013 at 7:15 PM, Malu Sasi wrote: > > 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 ve

[Dwarf-Discuss] Doubts in DWARF spec 4

2013-11-11 Thread Malu Sasi
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(p