This patch to include/dwarf2.def updates the DW_FORM and DW_AT codes for the Fission extensions. We've eliminated DW_FORM_GNU_ref_index, and replaced DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base. (The wiki page at http://gcc.gnu.org/wiki/DebugFission has been updated.)
OK for binutils and gcc? -cary include/ 2012-05-01 Cary Coutant <ccout...@google.com> * dwarf2.def: Remove DW_FORM_GNU_ref_index, replace DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base. commit bc45612d20fad44534b0efeeb821671d8e8c5b63 Author: Cary Coutant <ccout...@google.com> Date: Tue May 1 16:08:08 2012 -0700 Update DW_FORM and DW_AT codes for Fission. diff --git a/include/dwarf2.def b/include/dwarf2.def index 3ac3354..e36ae91 100644 --- a/include/dwarf2.def +++ b/include/dwarf2.def @@ -203,7 +203,6 @@ DW_FORM (DW_FORM_exprloc, 0x18) DW_FORM (DW_FORM_flag_present, 0x19) DW_FORM (DW_FORM_ref_sig8, 0x20) /* Extensions for Fission. See http://gcc.gnu.org/wiki/DebugFission. */ -DW_FORM (DW_FORM_GNU_ref_index, 0x1f00) DW_FORM (DW_FORM_GNU_addr_index, 0x1f01) DW_FORM (DW_FORM_GNU_str_index, 0x1f02) DW_END_FORM @@ -383,7 +382,7 @@ DW_AT (DW_AT_GNU_macros, 0x2119) /* Extensions for Fission. See http://gcc.gnu.org/wiki/DebugFission. */ DW_AT (DW_AT_GNU_dwo_name, 0x2130) DW_AT (DW_AT_GNU_dwo_id, 0x2131) -DW_AT (DW_AT_GNU_ref_base, 0x2132) +DW_AT (DW_AT_GNU_ranges_base, 0x2132) DW_AT (DW_AT_GNU_addr_base, 0x2133) DW_AT (DW_AT_GNU_pubnames, 0x2134) DW_AT (DW_AT_GNU_pubtypes, 0x2135)