[dwarf]: Add DW_LANG_UPC support in set_cu_language.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 16 May 2013 07:39:43 +0000 (07:39 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 16 May 2013 07:39:43 +0000 (07:39 +0000)
gdb/ChangeLog:

        * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling.

gdb/ChangeLog
gdb/dwarf2read.c

index 1685f54..8df3cff 100644 (file)
@@ -1,5 +1,9 @@
 2013-05-16  Joel Brobecker  <brobecker@adacore.com>
 
+       * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling.
+
+2013-05-16  Joel Brobecker  <brobecker@adacore.com>
+
        * ada-lang.c (ada_make_symbol_completion_list): Make sure
        all cleanups are done before returning from this function.
 
index ed5aea3..a17cd9d 100644 (file)
@@ -14983,6 +14983,7 @@ set_cu_language (unsigned int lang, struct dwarf2_cu *cu)
     case DW_LANG_C89:
     case DW_LANG_C99:
     case DW_LANG_C:
+    case DW_LANG_UPC:
       cu->language = language_c;
       break;
     case DW_LANG_C_plus_plus: