This is the mail archive of the dwarf2@corp.sgi.com mailing list for the dwarf2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Replacement PROPOSAL re multisection location and range lists


> 
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]