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.
This commit is contained in:
Andrew Cagney
2004-02-15 15:22:06 +00:00
parent 549c1eea94
commit 046a4708e4
12 changed files with 104 additions and 108 deletions

View File

@@ -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. */