commit | 080e3f5b39eb722edd7ced68c072a82a6cc5bffb | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mark@klomp.org> | Tue Nov 21 11:13:00 2017 +0100 |
committer | Mark Wielaard <mark@klomp.org> | Fri Nov 24 11:20:44 2017 +0100 |
tree | 05ce2686bd48c4a8d9b8b816cd298a163942d062 | |
parent | 4d36d125fac8999506b8b2137d6b04c0354954ac [diff] |
readelf: Print attribute name and form in error message. Now an error getting the attribute value will not only print the DIE offset and the reason, but also the attribute name and form. e.g. DIE [b] cannot get attribute 'ranges' (sec_offset) value: .debug_ranges section missing Also we don't abort, but try to print the other attributes of the DIE anyway. It might just be one attribute whose value cannot be resolved. Signed-off-by: Mark Wielaard <mark@klomp.org>