public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* readelf ignore .debug_pubtypes
@ 2018-03-23 14:57 Phi Debian
  2018-03-23 15:35 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Phi Debian @ 2018-03-23 14:57 UTC (permalink / raw)
  To: elfutils-devel

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     0000000000000000 07336c70
0072cb93  0        0   0  1

DL$ ~/elfutils/src/readelf --debug=pubtypes ./vmlinux  | more
Unknown DWARF debug section `pubtypes'.


Is that expected ?

Thanx in advance,
Phi

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: readelf ignore .debug_pubtypes
  2018-03-23 14:57 readelf ignore .debug_pubtypes Phi Debian
@ 2018-03-23 15:35 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2018-03-23 15:35 UTC (permalink / raw)
  To: Phi Debian, elfutils-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-23 15:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-23 14:57 readelf ignore .debug_pubtypes Phi Debian
2018-03-23 15:35 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).