This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] readelf: Add base to offsets in format_dwarf_addr for debug_loc/ranges.
- From: Josh Stone <jistone at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 21 Jan 2013 13:16:06 -0800
- Subject: Re: [PATCH] readelf: Add base to offsets in format_dwarf_addr for debug_loc/ranges.
On 01/18/2013 01:28 PM, Mark Wielaard wrote:
> Collect the base address of the CU while creating the listptr_tables
> and use them when printing debug ranges and location entries with
> format_dwarf_addr ().
Just to provide some context, Mark is responding to my gripe here:
https://bugzilla.redhat.com/show_bug.cgi?id=896741
In comments 2 and 7, I noted that binutils already adjusts for the base
address, and this is much more helpful to me to see what's happening.
Josh