From 5d62c8b152e352241b4a904e77f8a74a98d64b80 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 8 May 2003 18:05:37 +0000 Subject: * 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(-) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fd8cb1b..ffdb907 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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. * c-lang.c (minimal_language_defn): New language definition. (_initialize_c_language): Add the new minimal language to the list diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 476078b..a0a2f9b 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); -- cgit v1.1