Patchwork Add new enum to include/dwarf2.h

login
register
mail settings
Submitter Cary Coutant
Date March 1, 2013, 11:26 p.m.
Message ID <CAHACq4oFZ3bRe9E1iWnUDg=8H9--yrnSSS-iroZxE6tfw2Ac1Q@mail.gmail.com>
Download mbox | patch
Permalink /patch/224462/
State New
Headers show

Comments

Cary Coutant - March 1, 2013, 11:26 p.m.
I'm checking in this patch to include/dwarf2.h, which was approved on binutils.

-cary


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


RCS file: /cvs/src/src/include/dwarf2.h,v
retrieving revision 1.31
retrieving revision 1.32

Patch

diff -u -r1.31 -r1.32
--- src/include/dwarf2.h 2012/11/11 22:37:19 1.31
+++ src/include/dwarf2.h 2013/03/01 19:23:33 1.32
@@ -376,6 +376,20 @@ 

 #define DW_EH_PE_indirect 0x80

+/* Codes for the debug sections in a dwarf package (.dwp) file.
+   Extensions for Fission.  See http://gcc.gnu.org/wiki/DebugFissionDWP.  */
+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" {