diff options
Diffstat (limited to 'gdb/mi/mi-main.c')
-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 db5f3b9..c46bf63 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); } |