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 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" {