[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 1685f5415948ab9e99b5a868c1ba9c68ebaf8cfe..8df3cff63da3956a7b2603f6aa0d5c2caa11a9a5 100644 (file)
@@ -1,3 +1,7 @@
+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
index ed5aea317f27ffd0bc05de7b674abca47f7dcfb0..a17cd9db037e84d97a78cd2de255cd2313329dfe 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: