aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2001-06-08 18:08:03 +0000
committerPer Bothner <per@bothner.com>2001-06-08 18:08:03 +0000
commitbebd888e231b53bb94ecc2ce841e8ec4be1ffc5f (patch)
tree7d41e951bc5110a49b5bdd8cbddeea32916fb3d7 /gdb/dwarf2read.c
parent3f5a136d64de776a386ed3ece67aa97645c0c619 (diff)
downloadgdb-bebd888e231b53bb94ecc2ce841e8ec4be1ffc5f.zip
gdb-bebd888e231b53bb94ecc2ce841e8ec4be1ffc5f.tar.gz
gdb-bebd888e231b53bb94ecc2ce841e8ec4be1ffc5f.tar.bz2
* dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 17e0701..3d9902c 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -3721,6 +3721,9 @@ set_cu_language (unsigned int lang)
case DW_LANG_Mips_Assembler:
cu_language = language_asm;
break;
+ case DW_LANG_Java:
+ cu_language = language_java;
+ break;
case DW_LANG_Ada83:
case DW_LANG_Cobol74:
case DW_LANG_Cobol85: