diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-06-02 23:01:01 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-06-02 23:01:01 +0000 |
commit | fd5700c7c6ec3220529d2164e6dc6bfb35a23146 (patch) | |
tree | 7c87213e4c7d53800cfa75acf2ec85b2abdbfa3d /gdb/symfile.c | |
parent | f55ee35cf17f1eb104292b4c6b2f7def38ffe4a8 (diff) | |
download | gdb-fd5700c7c6ec3220529d2164e6dc6bfb35a23146.zip gdb-fd5700c7c6ec3220529d2164e6dc6bfb35a23146.tar.gz gdb-fd5700c7c6ec3220529d2164e6dc6bfb35a23146.tar.bz2 |
gdb/
* symfile.c (init_filename_language_table): New extensions .for, .FOR,
.ftn, .FTN, .fpp, .FPP, .f90, .F90, .f95, .F95, .f03, .F03, .f08 and
.F08.
gdb/testsuite/
* gdb.fortran/module.exp (stopped language detection): New test.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 1d7d53d..ab51fa4 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -2633,6 +2633,20 @@ init_filename_language_table (void) add_filename_language (".m", language_objc); add_filename_language (".f", language_fortran); add_filename_language (".F", language_fortran); + add_filename_language (".for", language_fortran); + add_filename_language (".FOR", language_fortran); + add_filename_language (".ftn", language_fortran); + add_filename_language (".FTN", language_fortran); + add_filename_language (".fpp", language_fortran); + add_filename_language (".FPP", language_fortran); + add_filename_language (".f90", language_fortran); + add_filename_language (".F90", language_fortran); + add_filename_language (".f95", language_fortran); + add_filename_language (".F95", language_fortran); + add_filename_language (".f03", language_fortran); + add_filename_language (".F03", language_fortran); + add_filename_language (".f08", language_fortran); + add_filename_language (".F08", language_fortran); add_filename_language (".s", language_asm); add_filename_language (".sx", language_asm); add_filename_language (".S", language_asm); |