[Dwarf-Discuss] Location list ranges vs. containing lexical block DW_AT_ranges

Roland McGrath roland@redhat.com
Fri Apr 9 23:07:22 GMT 2010


> Location lists and aranges are mutually independent.  The .debug_aranges
> section is to support accelerated access to the descriptive information in
> the .debug_info section.  As such, the .debug_aranges section is not required
> and some debuggers ignore it.

You've confused .debug_aranges with .debug_ranges here.  We're talking
about DW_AT_ranges (.debug_ranges), which is first-class information from
the DIE tree.


Thanks,
Roland




More information about the Dwarf-discuss mailing list