* dwarf2read.c (set_cu_language): Set the language to "minimal" if
authorJoel Brobecker <brobecker@gnat.com>
Thu, 8 May 2003 18:05:37 +0000 (18:05 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 8 May 2003 18:05:37 +0000 (18:05 +0000)
       the language of the CU is not currently supported by GDB.

gdb/ChangeLog
gdb/dwarf2read.c

index fd8cb1b75d44ac559fe77d689239597c03de648d..ffdb907d5b54f76c77688114bd7012d4bce4fc6a 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-08  J. Brobecker  <brobecker@gnat.com>
+
+       * dwarf2read.c (set_cu_language): Set the language to "minimal" if
+       the language of the CU is not currently supported by GDB.
+
 2003-05-08  J. Brobecker  <brobecker@gnat.com>
 
        * defs.h (language): Add language_minimal enum value.
index 476078b028458f24e0baeadfab985787f93973b8..a0a2f9beaaac147c23be2633f8ce8c49606d1d84 100644 (file)
@@ -4548,7 +4548,7 @@ set_cu_language (unsigned int lang)
     case DW_LANG_Pascal83:
     case DW_LANG_Modula2:
     default:
-      cu_language = language_unknown;
+      cu_language = language_minimal;
       break;
     }
   cu_language_defn = language_def (cu_language);