[Dwarf-Discuss] DW_AT_rnglists_base in DW_TAG_skeleton_unit

2020-07-01 Thread Simon Marchi via Dwarf-Discuss
Hi, The DW_AT_rnglists_base attribute is not listed in section 3.1.2 of DWARF5.pdf, which lists the allowed attributes for DW_TAG_skeleton_unit. However, in section 3.1.3, it says that the split full compile unit (the one in the .dwo) inherits the value of DW_AT_rnglists_base from the correspo

Re: [Dwarf-Discuss] DW_AT_rnglists_base in DW_TAG_skeleton_unit

2020-07-09 Thread Simon Marchi via Dwarf-Discuss
On 2020-07-09 12:30 p.m., Michael Eager wrote: > On 7/1/20 9:53 PM, Simon Marchi via Dwarf-Discuss wrote: >> Hi, >> >> The DW_AT_rnglists_base attribute is not listed in section 3.1.2 of >> DWARF5.pdf, which lists >> the allowed attributes for DW_TAG_skeleton

Re: [Dwarf-Discuss] Split Dwarf vs. CU DW_AT_ranges / DW_AT_low_pc placement

2021-03-10 Thread Simon Marchi via Dwarf-Discuss
On 2021-03-10 10:59 a.m., Jakub Jelinek via Dwarf-Discuss wrote:> Hi! > > We got a report today that GCC even for -gdwarf-5 -gsplit-dwarf uses > .debug_rnglists section + DW_AT_ranges + DW_AT_low_pc + DW_AT_rnglists_base > attributes in the DW_TAG_skeleton_unit (and then some DW_AT_ranges in > .de

Re: [Dwarf-Discuss] Split Dwarf vs. CU DW_AT_ranges / DW_AT_low_pc placement

2021-03-10 Thread Simon Marchi via Dwarf-Discuss
> But you've got me thinking Perhaps we should have *both* > .debug_rnglists *and* .debug_rnglists.dwo. The former could contain > only the range list needed for the DW_AT_ranges attribute in the > skeleton CU, while the latter would contain the range lists for any > DW_AT_r

[Dwarf-discuss] DW_IDX_parent semantic

2025-01-31 Thread Simon Marchi via Dwarf-discuss
In Section 6.1.1.2, the parent index entry attribute is described as: Parent debugging information entry, a reference to the index entry for the parent. This is represented as the offset of the entry relative to the start of the entry pool. But in Table 6.1, DW_IDX_parent is described as:

Re: [Dwarf-discuss] DWARF on vintage CPUs

2025-05-06 Thread Simon Marchi via Dwarf-discuss
On 5/5/25 6:31 PM, David Broman via Dwarf-discuss wrote: > Thanks for the information. > > > > There are unofficial patches to both gcc and gdb to support 6809. Neither of > them support DWARF. I don't know much about these old CPUs, but it looks like GDB supports the 6811, and the source fi

Re: [Dwarf-discuss] Enhancement: Dynamic DW_AT_data_bit_offset

2025-04-29 Thread Simon Marchi via Dwarf-discuss
On 4/17/25 3:58 PM, Tom Tromey via Dwarf-discuss wrote: > Consider the appended Ada program. Here, the offset of "Another_Field" > is a non-constant number of bits from the start of the object. > > I think there is no way to represent this in DWARF 5. Section 5.7.6, > page 119 says: > > For