This is the mail archive of the
dwarf2@corp.sgi.com
mailing list for the dwarf2 project.
RE: Replacement PROPOSAL re multisection location and range lists
- To: "'brender at gemgrp dot zko dot dec dot com'" <brender at gemgrp dot zko dot dec dot com>, DWARF2 at corp dot sgi dot com
- Subject: RE: Replacement PROPOSAL re multisection location and range lists
- From: "Burton, Felix" <felix dot burton at windriver dot com>
- Date: Wed, 21 Feb 2001 14:51:37 -0800
- Reply-To: "Burton, Felix" <felix dot burton at windriver dot com>
>
> For comparison, here is the current text (which would be retained if
> part D were not adopted):
>
> "The base address of a compilation is defined as follows: If a
> DW_AT_entry_pc is given for the unit, the base address is the
> value of that attribute. Otherwise, if a DW_AT_low_pc attribute
> is specified, the base address is the value of that attribute.
> If neither is present, then the base address is undefined and
> any DWARF [debugging information] entry or structure defined
> in terms of the base address of that compilation is not valid."
>
> This proposal recommends using DW_AT_low_pc at the only way to specify
> the base address of a compilation unit (whether used with
> DW_AT_high_pc or DW_AT_ranges).
I agree that we should not use DW_AT_entry_pc to define the base address, or
at least it should be the last resort.
Felix