summaryrefslogtreecommitdiff
path: root/gcc/dwarfout.c
diff options
context:
space:
mode:
authorAnthony Green <green@cygnus.com>2000-08-03 21:04:42 +0000
committerNick Clifton <nickc@gcc.gnu.org>2000-08-03 21:04:42 +0000
commit28985b8152d9a1cf207545ee0b4328a322cfad2b (patch)
tree64134f63d177542c0e7860e254607f42b3d980f9 /gcc/dwarfout.c
parente81b330a2d0278a03132221ae1d90f7ccd2bb758 (diff)
downloadgcc-28985b8152d9a1cf207545ee0b4328a322cfad2b.tar.gz
Apply patch from Anthony Green to add java language support to Dwarf generation.
From-SVN: r35460
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r--gcc/dwarfout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c
index 9e3d5c6639c..7df90f20b8f 100644
--- a/gcc/dwarfout.c
+++ b/gcc/dwarfout.c
@@ -3703,6 +3703,8 @@ output_compile_unit_die (arg)
language_attribute (LANG_FORTRAN77);
else if (strcmp (language_string, "GNU Pascal") == 0)
language_attribute (LANG_PASCAL83);
+ else if (strcmp (language_string, "GNU Java") == 0)
+ language_attribute (LANG_JAVA);
else if (flag_traditional)
language_attribute (LANG_C);
else