* 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:
parent
20a0e81d7a
commit
5d62c8b152
@ -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>
|
2003-05-08 J. Brobecker <brobecker@gnat.com>
|
||||||
|
|
||||||
* defs.h (language): Add language_minimal enum value.
|
* defs.h (language): Add language_minimal enum value.
|
||||||
|
@ -4548,7 +4548,7 @@ set_cu_language (unsigned int lang)
|
|||||||
case DW_LANG_Pascal83:
|
case DW_LANG_Pascal83:
|
||||||
case DW_LANG_Modula2:
|
case DW_LANG_Modula2:
|
||||||
default:
|
default:
|
||||||
cu_language = language_unknown;
|
cu_language = language_minimal;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
cu_language_defn = language_def (cu_language);
|
cu_language_defn = language_def (cu_language);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user