readelf ignore .debug_pubtypes
Hi All, I am affraid I will ask a trivial question but can't find any pointers. I am using the latest git available source code for readelf, and build is ok. DL$ ~/elfutils/src/readelf --version readelf (elfutils) 0.170 I got a vmlinux kernel with a .debug_pubtypes section DL$ ~/elfutils/src/readelf -S ./vmlinux | grep pubtypes [44] .debug_pubtypes PROGBITS 07336c70 0072cb93 00 0 1 DL$ ~/elfutils/src/readelf --debug=pubtypes ./vmlinux | more Unknown DWARF debug section `pubtypes'. Is that expected ? Thanx in advance, Phi
Re: readelf ignore .debug_pubtypes
Hi Phi, On Fri, 2018-03-23 at 15:57 +0100, Phi Debian wrote: > DL$ ~/elfutils/src/readelf --debug=pubtypes ./vmlinux | more > Unknown DWARF debug section `pubtypes'. > > Is that expected ? Unfortunately there is no support for .debug_pubtypes at all in elfutils at the moment. Note that in DWARF5 .debug_pubnames and .debug_pubtypes have been replaced with common index .debug_names (like .gdb_index). But there is no support for that index either yet (eu-readelf can read .gdb_index sections, but libdw won't take advantage of them yet). Sorry, Mark