aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2014-12-18 13:05:53 +1030
committerAlan Modra <amodra@gmail.com>2014-12-18 13:07:49 +1030
commit6ddfe5b4f9644204d5e322a2d026a01190dd38d9 (patch)
tree5c0f6e3a3354f6ad8e704ce3323ddb305e807ab7
parente0631a6a2b7cadc7a0ed6a6110fb1a5818dde511 (diff)
downloadgdb-6ddfe5b4f9644204d5e322a2d026a01190dd38d9.zip
gdb-6ddfe5b4f9644204d5e322a2d026a01190dd38d9.tar.gz
gdb-6ddfe5b4f9644204d5e322a2d026a01190dd38d9.tar.bz2
Display DW_LANG_C11 as (C11).
* dwarf.c (read_and_display_attr_value): Change display name of DW_LANG_C11 from (ANSI C11) to (C11).
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/dwarf.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 48957bd..2833ad0 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-18 Mark Wielaard <mjw@redhat.com>
+
+ * dwarf.c (read_and_display_attr_value): Change display name of
+ DW_LANG_C11 from (ANSI C11) to (C11).
+
2014-12-11 Nick Clifton <nickc@redhat.com>
PR binutils/17512
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 10d639c..49f9c49 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -1936,7 +1936,7 @@ read_and_display_attr_value (unsigned long attribute,
/* 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_C11: printf ("(C11)"); break;
case DW_LANG_C_plus_plus_14: printf ("(C++14)"); break;
/* MIPS extension. */
case DW_LANG_Mips_Assembler: printf ("(MIPS assembler)"); break;