diff options
author | Per Bothner <per@bothner.com> | 1998-04-23 22:47:00 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1998-04-23 22:47:00 +0000 |
commit | ffa157d8b15255ee503d99b995dd5843eb78e6fd (patch) | |
tree | ecd0bdecba0d4ab3a853763fbcd3d660170d9544 /gdb/symfile.c | |
parent | 8efdd180353c92a7421d5fff92766ffc7de3bf20 (diff) | |
download | gdb-ffa157d8b15255ee503d99b995dd5843eb78e6fd.zip gdb-ffa157d8b15255ee503d99b995dd5843eb78e6fd.tar.gz gdb-ffa157d8b15255ee503d99b995dd5843eb78e6fd.tar.bz2 |
* symfile.c (deduce_language_from_filename): .class implies java.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 6f3d307..88cf3ee 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -1437,7 +1437,7 @@ deduce_language_from_filename (filename) else if (STREQ (c, ".cc") || STREQ (c, ".C") || STREQ (c, ".cxx") || STREQ (c, ".cpp") || STREQ (c, ".cp") || STREQ (c, ".c++")) return language_cplus; - else if (STREQ (c, ".java")) + else if (STREQ (c, ".java") || STREQ (c, ".class")) return language_java; else if (STREQ (c, ".ch") || STREQ (c, ".c186") || STREQ (c, ".c286")) return language_chill; |