This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] readelf: Add base to offsets in format_dwarf_addr for debug_loc/ranges.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 23 Jan 2013 15:59:10 -0800
- Subject: Re: [PATCH] readelf: Add base to offsets in format_dwarf_addr for debug_loc/ranges.
I'm not entirely sanguine about this direction of change, at least not
without yet another switch making it optional. Sometimes what you want to
see from readelf is end-user information, where resolved addresses are the
most useful. But sometimes what you want is to really see what is in the
file (like when debugging encoders and decoders), where resolving the
addresses just hides the real details of the encoding.