This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 01/12] add new DWARF extensions to include files


This adds the new DWARF extensions in include/.

These values are temporary, as Jakub is hoping to get final ones
assigned in advance of DWARF 5.

	* dwarf2.def (DW_FORM_GNU_ref_alt, DW_FORM_GNU_strp_alt): New.
	* dwarf2.h (DW_MACRO_GNU_define_indirect_alt)
	(DW_MACRO_GNU_undef_indirect_alt)
	(DW_MACRO_GNU_transparent_include_alt): New constants.
---
 include/dwarf2.def |    3 +++
 include/dwarf2.h   |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/dwarf2.def b/include/dwarf2.def
index 870aecd..faee403 100644
--- a/include/dwarf2.def
+++ b/include/dwarf2.def
@@ -205,6 +205,9 @@ DW_FORM (DW_FORM_ref_sig8, 0x20)
 /* Extensions for Fission.  See http://gcc.gnu.org/wiki/DebugFission.  */
 DW_FORM (DW_FORM_GNU_addr_index, 0x1f01)
 DW_FORM (DW_FORM_GNU_str_index, 0x1f02)
+/* Extensions for multi-file compression.  See FIXME.  */
+DW_FORM (DW_FORM_GNU_ref_alt, 0x1f20)
+DW_FORM (DW_FORM_GNU_strp_alt, 0x1f21)
 DW_END_FORM
 
 DW_FIRST_AT (DW_AT_sibling, 0x01)
diff --git a/include/dwarf2.h b/include/dwarf2.h
index 0be7a99..5bc6a92 100644
--- a/include/dwarf2.h
+++ b/include/dwarf2.h
@@ -333,6 +333,9 @@ enum dwarf_macro_record_type
     DW_MACRO_GNU_define_indirect = 5,
     DW_MACRO_GNU_undef_indirect = 6,
     DW_MACRO_GNU_transparent_include = 7,
+    DW_MACRO_GNU_define_indirect_alt = 8,
+    DW_MACRO_GNU_undef_indirect_alt = 9,
+    DW_MACRO_GNU_transparent_include_alt = 10,
     DW_MACRO_GNU_lo_user = 0xe0,
     DW_MACRO_GNU_hi_user = 0xff
   };
-- 
1.7.7.6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]