This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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 1/4] Add DW_SECT codes


This patch adds the new DW_SECT codes used by version 2 of the proposed
DWARF package file format, documented here:

   http://gcc.gnu.org/wiki/DebugFissionDWP

OK to commit?

-cary

include/
* dwarf2.h (enum dwarf_sect): New enum type.

---
 include/dwarf2.h |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/include/dwarf2.h b/include/dwarf2.h
index e98505a..2386673 100644
--- a/include/dwarf2.h
+++ b/include/dwarf2.h
@@ -376,6 +376,19 @@ enum dwarf_macro_record_type

 #define DW_EH_PE_indirect 0x80

+/* Codes for the debug sections in a dwarf package (.dwp) file.  */
+enum dwarf_sect
+  {
+    DW_SECT_INFO = 1,
+    DW_SECT_TYPES = 2,
+    DW_SECT_ABBREV = 3,
+    DW_SECT_LINE = 4,
+    DW_SECT_LOC = 5,
+    DW_SECT_STR_OFFSETS = 6,
+    DW_SECT_MACINFO = 7,
+    DW_SECT_MACRO = 8,
+    DW_SECT_MAX = 8
+  };

 #ifdef __cplusplus
 extern "C" {
--
1.7.9.6 (Apple Git-31.1)


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