aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-lang.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-15 15:22:06 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-15 15:22:06 +0000
commit046a4708e43cc23af647089c058c034ff23adec0 (patch)
tree87480bcb9bb63c7d39a988ffb63eefd39ff42264 /gdb/f-lang.c
parent549c1eea94a2bf31384bd2921b056edf1300b679 (diff)
downloadgdb-046a4708e43cc23af647089c058c034ff23adec0.zip
gdb-046a4708e43cc23af647089c058c034ff23adec0.tar.gz
gdb-046a4708e43cc23af647089c058c034ff23adec0.tar.bz2
2004-02-15 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (deprecated_register_gdbarch_swap): Rename register_gdbarch_swap. (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP. * f-lang.c (_initialize_f_language): Update, use DEPRECATED_REGISTER_GDBARCH_SWAP. * remote.c (_initialize_remote): Ditto. * regcache.c (_initialize_regcache): Ditto. * parse.c (_initialize_parse): Ditto. * infrun.c (_initialize_infrun): Ditto. * mi/mi-main.c (_initialize_mi_main): Ditto. * gdbtypes.c (_initialize_gdbtypes): Ditto.
Diffstat (limited to 'gdb/f-lang.c')
-rw-r--r--gdb/f-lang.c46
1 files changed, 16 insertions, 30 deletions
diff --git a/gdb/f-lang.c b/gdb/f-lang.c
index c34b4a7..1e7cd45 100644
--- a/gdb/f-lang.c
+++ b/gdb/f-lang.c
@@ -568,36 +568,22 @@ void
_initialize_f_language (void)
{
build_fortran_types ();
- register_gdbarch_swap (&builtin_type_f_character,
- sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_f_logical,
- sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_f_logical_s1,
- sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_f_logical_s2,
- sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_f_integer,
- sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_f_integer_s2,
- sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_f_real,
- sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_f_real_s8,
- sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_f_real_s16,
- sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_f_complex_s8,
- sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_f_complex_s16,
- sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_f_complex_s32,
- sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_f_void,
- sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_string,
- sizeof (struct type *), NULL);
-
- register_gdbarch_swap (NULL, 0, build_fortran_types);
+
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_f_character);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_f_logical);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_f_logical_s1);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_f_logical_s2);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_f_integer);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_f_integer_s2);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_f_real);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_f_real_s8);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_f_real_s16);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_f_complex_s8);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_f_complex_s16);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_f_complex_s32);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_f_void);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_string);
+ deprecated_register_gdbarch_swap (NULL, 0, build_fortran_types);
builtin_type_string =
init_type (TYPE_CODE_STRING, TARGET_CHAR_BIT / TARGET_CHAR_BIT,