From 5d62c8b152e352241b4a904e77f8a74a98d64b80 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 8 May 2003 18:05:37 +0000 Subject: [PATCH] * dwarf2read.c (set_cu_language): Set the language to "minimal" if the language of the CU is not currently supported by GDB. --- gdb/ChangeLog | 5 +++++ gdb/dwarf2read.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); -- 2.30.2