diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-15 15:22:06 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-15 15:22:06 +0000 |
commit | b2f4b66e96836d01654b48a37a59f38716f84245 (patch) | |
tree | 955f864b6f2f62495f81338bfe29505b9138f5b2 /gdb/mi | |
parent | fda5681148a82a7f02d34181b3604fc9d033c742 (diff) | |
download | gdb-b2f4b66e96836d01654b48a37a59f38716f84245.tar.gz |
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/mi')
-rw-r--r-- | gdb/mi/mi-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index db5f3b9a301..c46bf636597 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -1489,6 +1489,6 @@ mi_setup_architecture_data (void) void _initialize_mi_main (void) { - register_gdbarch_swap (&old_regs, sizeof (old_regs), NULL); - register_gdbarch_swap (NULL, 0, mi_setup_architecture_data); + DEPRECATED_REGISTER_GDBARCH_SWAP (old_regs); + deprecated_register_gdbarch_swap (NULL, 0, mi_setup_architecture_data); } |