This is the mail archive of the
mailing list for the GCC project.
Re: [rfc] -gdwarf-3 and DW_OP_call_frame_cfa
>> If you do generate DWARF3 labelled as version 3, however, whether
>> unconditionally or conditionally, you need to ensure that where the same
>> data has different interpretations as DWARF2 and DWARF3 the correct version
>> is output for the version selected.
> An excellent point. ?I've changed everything I could find that
> got updated in the dwarf3 spec. ?Can you see anything I missed?
I checked the spec and verified that the size of a DW_FORM_ref_addr is
the only incompatible change between DWARF-2 and DWARF-3.
After this patch is in, I'll update the dwarf4 branch and remove the
explicit -gdwarf-4 option and the use_dwarf4_extensions flag.