* dwarf.h (enum DW_LANG): Adjust spacing for consistency.
	(enum DW_SECT): New enum type.
This commit is contained in:
Cary Coutant 2013-03-01 22:45:56 +00:00
parent c4be516571
commit 69e2f9c4dc
2 changed files with 59 additions and 38 deletions

View file

@ -1,3 +1,8 @@
2013-03-01 Cary Coutant <ccoutant@google.com>
* dwarf.h (enum DW_LANG): Adjust spacing for consistency.
(enum DW_SECT): New enum type.
2012-12-17 Nick Clifton <nickc@redhat.com>
* README: Add copyright notice.

View file

@ -180,7 +180,7 @@ enum DW_CHILDREN
// Source language names and codes.
enum DW_LANG
{
{
DW_LANG_C89 = 0x0001,
DW_LANG_C = 0x0002,
DW_LANG_Ada83 = 0x0003,
@ -217,7 +217,23 @@ enum DW_LANG
DW_LANG_HP_Pascal91 = 0x8005,
DW_LANG_HP_IMacro = 0x8006,
DW_LANG_HP_Assembler = 0x8007
};
};
// DWARF section identifiers used in the package format.
// Extensions for Fission. See http://gcc.gnu.org/wiki/DebugFissionDWP.
enum DW_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 = DW_SECT_MACRO,
};
} // End namespace elfcpp.