This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: dwarf 2.1 .debug_ranges


On Fri, Jul 27, 2001 at 04:00:51PM -0400, Daniel Berlin wrote:
> The problem with the ranges seems to have occurred because the
> original proposal specified that the ranges should point to a location
> list in the debug_loc section, rather than make a new section.  Had
> this been done, the base address would selected the same way.

Oh, I see that the "base address" of a compilation unit has
been extended in dwarf 2.1 such that it may be specified with
DW_AT_entry_pc, which we can conveniently set to zero for
compilation units spanning multiple sections.

Still, it'd be nice to reduce the space needed for DW_AT_ranges...


r~


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