[PATCH] readelf: Print DIE offset in attribute reading error messages.

Tom Tromey tom@tromey.com
Tue Nov 21 19:19:00 GMT 2017

>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> This has been really useful to debug some DWARF format issues, but it
Mark> could be even more useful. Since we know the attribute name and form
Mark> (or we would have generated an error earlier) add those to the error
Mark> message too.

Thanks for doing this.

Does dwarflint also report the error that prompted this?
I tried dwarflint on my file, but there was a lot of output and I never
did track down the precise problem, so I wasn't sure...


More information about the Elfutils-devel mailing list