aboutsummaryrefslogtreecommitdiff
path: root/elfcpp/dwarf.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-07-03 19:30:24 +0930
committerAlan Modra <amodra@gmail.com>2017-07-03 21:41:49 +0930
commit7e70564caed5f56b4937ef3f5a51ae2159cabef4 (patch)
tree1020fed05bde63dce753c21c5121b52f992d4e3c /elfcpp/dwarf.h
parent5bfd255c414e89f23342f38975d09b18f2c1b2b7 (diff)
downloadgdb-7e70564caed5f56b4937ef3f5a51ae2159cabef4.zip
gdb-7e70564caed5f56b4937ef3f5a51ae2159cabef4.tar.gz
gdb-7e70564caed5f56b4937ef3f5a51ae2159cabef4.tar.bz2
Repair include/dwarf2.def breakage
* dwarf.h (DW_FIRST_IDX, DW_IDX, DW_IDX_DUP, DW_END_IDX): Define.
Diffstat (limited to 'elfcpp/dwarf.h')
-rw-r--r--elfcpp/dwarf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/elfcpp/dwarf.h b/elfcpp/dwarf.h
index 364b774..85004a4 100644
--- a/elfcpp/dwarf.h
+++ b/elfcpp/dwarf.h
@@ -74,6 +74,12 @@ namespace elfcpp
#define DW_CFA(name, value) , name = value
#define DW_END_CFA };
+#define DW_FIRST_IDX(name, value) enum dwarf_name_index_attribute { \
+ name = value
+#define DW_IDX(name, value) , name = value
+#define DW_IDX_DUP(name, value) , name = value
+#define DW_END_IDX };
+
#include "dwarf2.def"
#undef DW_FIRST_TAG