* dwarf2read.c (set_cu_language): Set the language to "minimal" if

the language of the CU is not currently supported by GDB.
This commit is contained in:
Joel Brobecker 2003-05-08 18:05:37 +00:00
parent 20a0e81d7a
commit 5d62c8b152
2 changed files with 6 additions and 1 deletions

View 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.

View 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);