[PATCH] readelf: Print DIE offset in attribute reading error messages.
Mark Wielaard
mark@klomp.org
Thu Nov 16 14:31:00 GMT 2017
On Tue, 2017-10-03 at 16:59 +0200, Mark Wielaard wrote:
> When processing large files it is useful to know the DIE offset if
> printing of attributes fails (especially when redirecting the output).
> With this change the error message looks like:
>
> eu-readelf: DIE [2aeb8ef1] cannot get attribute value: invalid DWARF
Got another report about a large debug file where this improved error
message would have been really handy. So I pushed it to master now.
Cheers,
Mark
More information about the Elfutils-devel
mailing list