[OE-core] [PATCH] rpm: update to 4.14.0
Alexander Kanavin
alexander.kanavin at linux.intel.com
Thu Nov 9 16:49:34 UTC 2017
On 11/08/2017 05:31 PM, Mark Hatle wrote:
>> BTW. If you really don't want to use debugedit then you could use
>> something simple like a quick hack to list all sources I wrote some
>> time ago:
>> https://lists.fedorahosted.org/archives/list/elfutils-devel@lists.fedor
>> ahosted.org/message/VZP4G5N2ELYZEDAB3QYLXYHDGX4WMCUF/
>> (see the dwarfsrcfiles.c attachement)
>
> This may very well do what we need. Our output does not depend on RPM (or any
> specific package manager.) We had simply been using the debugedit from RPM as
> it was the best tool for the job. Now that GCC has the debug-prefix-map option,
> we no longer really need debugedit.
After poking some more at elfutils/binutils, I think that indeed the
dwarfsrcfiles.c is what we need.
The standard utilities can dump the full debug table content on you, but
they don't have a simple 'give me all sources' feature. And parsing that
output is more fragile than I thought: there are 'compile units' and
there are sources used to form them, and linking the two into a simple
list of sources isn't easy.
Thanks a lot!
Alex
More information about the Openembedded-core
mailing list