* gdbtypes.h (builtin_type_f_character, builtin_type_f_logical,
authorUlrich Weigand <uweigand@de.ibm.com>
Sat, 16 Jun 2007 20:09:07 +0000 (20:09 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sat, 16 Jun 2007 20:09:07 +0000 (20:09 +0000)
commit54ef06c7261244bfa0f99988fdb0942f72da728f
tree7f956d72caa140dd7ea2addd6b5f97abc57a8b1b
parent92e0cef42c47d33eb559826fdeccd1e8e21e35cd
* gdbtypes.h (builtin_type_f_character, builtin_type_f_logical,
builtin_type_f_logical_s1, builtin_type_f_logical_s2,
builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real,
builtin_type_f_real_s8, builtin_type_f_real_s16,
builtin_type_f_complex_s8, builtin_type_f_complex_s16,
builtin_type_f_complex_s32, builtin_type_f_void): Replace global
variable declaration with compatibility macro.
(struct builtin_f_type): New data type.
(builtin_f_type): Add prototype.
* f-lang.c (builtin_type_f_character, builtin_type_f_logical,
builtin_type_f_logical_s1, builtin_type_f_logical_s2,
builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real,
builtin_type_f_real_s8, builtin_type_f_real_s16,
builtin_type_f_complex_s8, builtin_type_f_complex_s16,
builtin_type_f_complex_s32, builtin_type_f_void): Remove variables.
(f_language_arch_info): Use builtin_f_type instead of variables.
(build_fortran_types): Build builtin_f_type structure instead of
setting global type variables.
(f_type_data): New variable.
(builtin_f_type): New function.
(_initialize_f_language): Do not call build_fortran_types.  Do not
swap global type variables.  Register f_type_data per-gdbarch data.
gdb/ChangeLog
gdb/f-lang.c
gdb/gdbtypes.h