gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 21 May 2009 07:57:45 +0000 (07:57 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 21 May 2009 07:57:45 +0000 (07:57 +0000)
* dwarf2read.c (set_cu_language): Recognize also DW_LANG_C99.

gdb/ChangeLog
gdb/dwarf2read.c

index 93127d6681d3baa3176d5c43d0bd5e3746360aa9..f8586705d971c047c127fc2a1f9de3e97ee36b40 100644 (file)
@@ -1,3 +1,7 @@
+2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c (set_cu_language): Recognize also DW_LANG_C99.
+
 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Fix parsing DW_AT_const_value using DW_FORM_string.
index bb088413715b56901f0d7eb0467861e10d41b3bc..bcfbb1b6912b06ebecce576c0d4c3db6bd943e39 100644 (file)
@@ -6876,6 +6876,7 @@ set_cu_language (unsigned int lang, struct dwarf2_cu *cu)
   switch (lang)
     {
     case DW_LANG_C89:
+    case DW_LANG_C99:
     case DW_LANG_C:
       cu->language = language_c;
       break;