On Tue, 2013-06-04 at 21:47 +0000, Bruce Dawson wrote:
I want to get a list of all of the source files and header files
to create a particular shared object. I can do this with "objdump
As Roland pointed out elfutils currently doesn't provide an [eu-]objdump
that support -Wl, but you can get the same information using eu-readelf
--debug-dump=line (and in current git with --debug-dump=decodedline).
If you really just want the source files and don't need to parse the
whole DIE tree or line number information you can easily write something
that does just that using libdw. Attached is an old hack that I did some
time ago just for that.