aboutsummaryrefslogtreecommitdiff
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
parent3f5a136d64de776a386ed3ece67aa97645c0c619 (diff)
downloadgdb-bebd888e231b53bb94ecc2ce841e8ec4be1ffc5f.zip
gdb-bebd888e231b53bb94ecc2ce841e8ec4be1ffc5f.tar.gz
gdb-bebd888e231b53bb94ecc2ce841e8ec4be1ffc5f.tar.bz2
* dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bacfb8e..52002e8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-08 Per Bothner <per@bothner.com>
+
+ * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
+
2001-06-07 Keith Seitz <keiths@redhat.com>
* tracepoint.c (tracepoint_opertation): Add ui event
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: