summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdw/ChangeLog4
-rw-r--r--libdw/dwarf.h15
2 files changed, 19 insertions, 0 deletions
diff --git a/libdw/ChangeLog b/libdw/ChangeLog
index 48bbaa0e..5a07c467 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-27 Mark Wielaard <[email protected]>
+
+ * dwarf.h: Add DW_MACRO_GNU .debug_macro type encodings.
+
2012-06-26 Mark Wielaard <[email protected]>
* libdwP.h: Add IDX_debug_macro.
diff --git a/libdw/dwarf.h b/libdw/dwarf.h
index 01aee5ad..78a553aa 100644
--- a/libdw/dwarf.h
+++ b/libdw/dwarf.h
@@ -673,6 +673,21 @@ enum
};
+/* DWARF debug_macro type encodings. GNU/DWARF5 extension. */
+enum
+ {
+ DW_MACRO_GNU_define = 0x01,
+ DW_MACRO_GNU_undef = 0x02,
+ DW_MACRO_GNU_start_file = 0x03,
+ DW_MACRO_GNU_end_file = 0x04,
+ DW_MACRO_GNU_define_indirect = 0x05,
+ DW_MACRO_GNU_undef_indirect = 0x06,
+ DW_MACRO_GNU_transparent_include = 0x07,
+ DW_MACRO_GNU_lo_user = 0xe0,
+ DW_MACRO_GNU_hi_user = 0xff
+ };
+
+
/* DWARF call frame instruction encodings. */
enum
{