David, I wouldn't be too puzzled. What you are seeing is clearly a cut and paste error on the part of your friendly document editor (that would be me). Clearly there should not be mention of default location entries in the context of address ranges (in contrast with location lists). There are a large number of common concepts and common content between the two so the editor can perhaps be forgiven if trying to assure common text where appropriate led to a hiccup.
Please enter this at the DWARF site as an editorial bug to be corrected in V6. Thanks, Ron, Editor On Mon, May 4, 2020 at 1:43 PM David Anderson via Dwarf-Discuss < dwarf-discuss@lists.dwarfstd.org> wrote: > I am puzzled. > > DWARF5, Sec 3.9, Declarations with Reduced Scope. > Page 94. > ========= quote from the document: > b) If the address range of the containing scope is > non-contiguous (see 2.17.3 on page 52) the value of this > attribute is the offset in bytes of the beginning of the > address range for the scope of the entity from the beginning > of the first range list entry for the containing scope that > is not a base address entry, a default location entry or an > end-of-list entry. > ========= The issue: > Address ranges are described starting on page 52 > and refer to the .debug_rnglists section when > the scope is non-contiguous. > > The terms > 'first range list entry' > 'base address entry' > 'end-of-list-entry' > are defined on pages 52,53 but, AFAICT: > > 'default location entry' is not defined > for address ranges. Not at all. > > There is such a type for the .debug_loclists section, > but I don't understand how that could apply here, > to .debug_rnglists. > > Is the mention of 'default location entry' on page 94 just an accident, > something to be ignored? Or? > > Thanks for any comments. > David Anderson > > > > -- > IBM had PL/1 with syntax worse than JOSS, > and everywhere the language went, it was a total loss... > -- TWX > > _______________________________________________ > Dwarf-Discuss mailing list > Dwarf-Discuss@lists.dwarfstd.org > http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org >
_______________________________________________ Dwarf-Discuss mailing list Dwarf-Discuss@lists.dwarfstd.org http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org