This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: dwarf 2.1 .debug_ranges
- To: Daniel Berlin <dan at cgsoftware dot com>
- Subject: Re: dwarf 2.1 .debug_ranges
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 27 Jul 2001 13:32:10 -0700
- Cc: Jason Merrill <jason at redhat dot com>, gcc at gcc dot gnu dot org
- References: <20010727122534.A28963@redhat.com> <87elr23zws.fsf@cgsoftware.com>
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~