aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.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/gdbtypes.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/gdbtypes.c')
-rw-r--r--gdb/gdbtypes.c104
1 files changed, 52 insertions, 52 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index 4c24fa2..2dc3a46 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -3365,58 +3365,58 @@ _initialize_gdbtypes (void)
/* FIXME - For the moment, handle types by swapping them in and out.
Should be using the per-architecture data-pointer and a large
struct. */
- register_gdbarch_swap (&builtin_type_void, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_char, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_short, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_int, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_long, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_long_long, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_signed_char, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_unsigned_char, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_unsigned_short, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_unsigned_int, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_unsigned_long, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_unsigned_long_long, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_float, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_double, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_long_double, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_complex, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_double_complex, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_string, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_int8, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_uint8, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_int16, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_uint16, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_int32, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_uint32, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_int64, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_uint64, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_int128, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_uint128, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v4sf, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v4si, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v16qi, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v8qi, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v8hi, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v4hi, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v2si, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v2_double, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v4_float, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v2_int64, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v4_int32, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v8_int16, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v16_int8, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v2_float, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v2_int32, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v8_int8, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_v4_int16, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_vec128, sizeof (struct type *), NULL);
- register_gdbarch_swap (&builtin_type_vec128i, sizeof (struct type *), NULL);
- REGISTER_GDBARCH_SWAP (builtin_type_void_data_ptr);
- REGISTER_GDBARCH_SWAP (builtin_type_void_func_ptr);
- REGISTER_GDBARCH_SWAP (builtin_type_CORE_ADDR);
- REGISTER_GDBARCH_SWAP (builtin_type_bfd_vma);
- register_gdbarch_swap (NULL, 0, build_gdbtypes);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_void);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_char);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_short);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_int);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_long);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_long_long);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_signed_char);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_unsigned_char);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_unsigned_short);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_unsigned_int);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_unsigned_long);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_unsigned_long_long);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_float);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_double);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_long_double);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_complex);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_double_complex);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_string);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_int8);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_uint8);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_int16);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_uint16);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_int32);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_uint32);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_int64);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_uint64);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_int128);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_uint128);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v4sf);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v4si);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v16qi);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v8qi);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v8hi);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v4hi);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v2si);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v2_double);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v4_float);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v2_int64);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v4_int32);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v8_int16);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v16_int8);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v2_float);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v2_int32);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v8_int8);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_v4_int16);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_vec128);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_vec128i);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_void_data_ptr);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_void_func_ptr);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_CORE_ADDR);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (builtin_type_bfd_vma);
+ deprecated_register_gdbarch_swap (NULL, 0, build_gdbtypes);
/* Note: These types do not need to be swapped - they are target
neutral. */