aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2014-11-24 21:24:25 +0100
committerMark Wielaard <mjw@redhat.com>2014-11-27 00:35:18 +0100
commit8bc106204c1aedd8c5ffb52453632a632d5484b8 (patch)
tree03358ea550a1fb6898990e287081814f0f6d4ab8
parent3fe1ce1d5b225417a8e3234aaa0d7a0a597067f1 (diff)
downloadgdb-8bc106204c1aedd8c5ffb52453632a632d5484b8.zip
gdb-8bc106204c1aedd8c5ffb52453632a632d5484b8.tar.gz
gdb-8bc106204c1aedd8c5ffb52453632a632d5484b8.tar.bz2
dwarf.c handle new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
binutils/ChangeLog * dwarf.c (read_and_display_attr_value): Handle DW_LANG_C11, DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/dwarf.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 542d788..131925a 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-24 Mark Wielaard <mjw@redhat.com>
+
+ * dwarf.c (read_and_display_attr_value): Handle DW_LANG_C11,
+ DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
+
2014-11-26 Nick Clifton <nickc@redhat.com>
PR binutils/17512
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 622fe91..e2bac1f 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -1935,6 +1935,9 @@ read_and_display_attr_value (unsigned long attribute,
case DW_LANG_Python: printf ("(Python)"); break;
/* DWARF 5 values. */
case DW_LANG_Go: printf ("(Go)"); break;
+ case DW_LANG_C_plus_plus_11: printf ("(C++11)"); break;
+ case DW_LANG_C11: printf ("(ANSI C11)"); break;
+ case DW_LANG_C_plus_plus_14: printf ("(C++14)"); break;
/* MIPS extension. */
case DW_LANG_Mips_Assembler: printf ("(MIPS assembler)"); break;
/* UPC extension. */