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/parse.c | |
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/parse.c')
-rw-r--r-- | gdb/parse.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index da39866f759..374e88ed85d 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -1293,11 +1293,10 @@ _initialize_parse (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 (&msym_text_symbol_type, sizeof (msym_text_symbol_type), NULL); - register_gdbarch_swap (&msym_data_symbol_type, sizeof (msym_data_symbol_type), NULL); - register_gdbarch_swap (&msym_unknown_symbol_type, sizeof (msym_unknown_symbol_type), NULL); - - register_gdbarch_swap (NULL, 0, build_parse); + DEPRECATED_REGISTER_GDBARCH_SWAP (msym_text_symbol_type); + DEPRECATED_REGISTER_GDBARCH_SWAP (msym_data_symbol_type); + DEPRECATED_REGISTER_GDBARCH_SWAP (msym_unknown_symbol_type); + deprecated_register_gdbarch_swap (NULL, 0, build_parse); add_show_from_set ( add_set_cmd ("expression", class_maintenance, var_zinteger, |