aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-05-08 18:05:37 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-05-08 18:05:37 +0000
commit5d62c8b152e352241b4a904e77f8a74a98d64b80 (patch)
tree0a86a1cdd3ed1eed4faa948f05c588819700a05a /gdb/dwarf2read.c
parent20a0e81d7ad1d99add65f1787c8791ba6d360eea (diff)
downloadgdb-5d62c8b152e352241b4a904e77f8a74a98d64b80.zip
gdb-5d62c8b152e352241b4a904e77f8a74a98d64b80.tar.gz
gdb-5d62c8b152e352241b4a904e77f8a74a98d64b80.tar.bz2
* dwarf2read.c (set_cu_language): Set the language to "minimal" if
the language of the CU is not currently supported by GDB.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c2
1 files changed, 1 insertions, 1 deletions
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);