Re: [Dwarf-Discuss] Segment selectors for the range list table.

2020-07-15 Thread Robinson, Paul via Dwarf-Discuss
> -Original Message- > From: Dwarf-Discuss On Behalf > Of Xing GUO via Dwarf-Discuss > Sent: Tuesday, July 14, 2020 10:39 PM > To: dwarf-discuss@lists.dwarfstd.org > Subject: [Dwarf-Discuss] Segment selectors for the range list table. > > Hi there, > > The DWARFv5 spec mentioned that

Re: [Dwarf-Discuss] Segment selectors for the range list table.

2020-07-15 Thread David Blaikie via Dwarf-Discuss
Looking at how segment selectors work: DW_AT_segment: Applies to a DIE subtree, including any ranges, high/low pc, locations, labels, etc debug_range/loc (v4 and below): Doesn't seem to allow specifying segment variation - inherits from the segment given on the nearest parent DIE that refers to th

Re: [Dwarf-Discuss] Segment selectors for the range list table.

2020-07-15 Thread Michael Eager via Dwarf-Discuss
Segmented addresses have been in the DWARF specification since Version 2 and AFAIK have not been changed since that time. DWARF V5 did not add any functionality to segmented addresses that was not present in DWARF V2/3. At least, there was no intention to do so. Segmented addresses are desc

Re: [Dwarf-Discuss] Segment selectors for the range list table.

2020-07-15 Thread Xing GUO via Dwarf-Discuss
Hi David, On 7/16/20, David Blaikie wrote: > Looking at how segment selectors work: > > DW_AT_segment: Applies to a DIE subtree, including any ranges, high/low pc, > locations, labels, etc > debug_range/loc (v4 and below): Doesn't seem to allow specifying segment > variation - inherits from the s

Re: [Dwarf-Discuss] Segment selectors for the range list table.

2020-07-15 Thread David Blaikie via Dwarf-Discuss
On Wed, Jul 15, 2020 at 7:07 PM Michael Eager via Dwarf-Discuss < dwarf-discuss@lists.dwarfstd.org> wrote: > Segmented addresses have been in the DWARF specification since Version 2 > and AFAIK have not been changed since that time. DWARF V5 did not add > any functionality to segmented addresse

Re: [Dwarf-Discuss] Segment selectors for the range list table.

2020-07-15 Thread David Blaikie via Dwarf-Discuss
On Wed, Jul 15, 2020 at 8:00 PM Xing GUO wrote: > Hi David, > > On 7/16/20, David Blaikie wrote: > > Looking at how segment selectors work: > > > > DW_AT_segment: Applies to a DIE subtree, including any ranges, high/low > pc, > > locations, labels, etc > > debug_range/loc (v4 and below): Doesn't