From: Joel Brobecker Date: Thu, 8 May 2003 18:05:37 +0000 (+0000) Subject: * dwarf2read.c (set_cu_language): Set the language to "minimal" if X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d62c8b152e352241b4a904e77f8a74a98d64b80;p=binutils-gdb.git * dwarf2read.c (set_cu_language): Set the language to "minimal" if the language of the CU is not currently supported by GDB. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fd8cb1b75d4..ffdb907d5b5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-05-08 J. Brobecker + + * 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 * defs.h (language): Add language_minimal enum value. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 476078b0284..a0a2f9beaaa 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -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);