This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Extend Fortran detection filename extensions


> gdb/
> 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* symfile.c (init_filename_language_table): New extensions .for, .FOR,
> 	.ftn, .FTN, .fpp, .FPP, .f90, .F90, .f95, .F95, .f03, .F03, .f08 and
> 	.F08.

This seems reasonable to me. I wish I knew more languages that I do now,
but I don't see some of these extensions being used by other languages
as well. So this seems OK to me (and would be easy to adjust if someone
else has more info about a possible collision).

> gdb/testsuite/
> 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* gdb.fortran/module.exp (stopped language detection): New test.

A question about this new test (which is OK, btw).

> +# Test automatic language detection before the inferior starts.
> +gdb_test "p modmany::var_i" " = 14" "stopped language detection"

Why not just do "show language"?

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]