aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.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/remote.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/remote.c')
-rw-r--r--gdb/remote.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 99f51a3..55bc135 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -5406,9 +5406,8 @@ _initialize_remote (void)
/* Old tacky stuff. NOTE: This comes after the remote protocol so
that the remote protocol has been initialized. */
- register_gdbarch_swap (&remote_address_size,
- sizeof (&remote_address_size), NULL);
- register_gdbarch_swap (NULL, 0, build_remote_gdbarch_data);
+ DEPRECATED_REGISTER_GDBARCH_SWAP (remote_address_size);
+ deprecated_register_gdbarch_swap (NULL, 0, build_remote_gdbarch_data);
init_remote_ops ();
add_target (&remote_ops);