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 | |
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')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/symfile.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 412c65b..645bb20 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Thu Apr 23 15:44:39 1998 Per Bothner <bothner@cygnus.com> + + * symfile.c (deduce_language_from_filename): .class implies java. + Thu Apr 23 12:52:21 1998 Philippe De Muyter <phdm@macqel.be> * configure.in (strerror): Check if function must be declared. 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; |