summaryrefslogtreecommitdiff
path: root/gdb/gdbtk/generic
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbtk/generic')
-rw-r--r--gdb/gdbtk/generic/gdbtk-register.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/gdbtk/generic/gdbtk-register.c b/gdb/gdbtk/generic/gdbtk-register.c
index 6ab9ae91013..56bb135644a 100644
--- a/gdb/gdbtk/generic/gdbtk-register.c
+++ b/gdb/gdbtk/generic/gdbtk-register.c
@@ -62,10 +62,10 @@ Gdbtk_Register_Init (Tcl_Interp *interp)
/* Register/initialize any architecture specific data */
setup_architecture_data ();
- register_gdbarch_swap (&old_regs, sizeof (old_regs), NULL);
- register_gdbarch_swap (&regformat, sizeof (regformat), NULL);
- register_gdbarch_swap (&regtype, sizeof (regtype), NULL);
- register_gdbarch_swap (NULL, 0, setup_architecture_data);
+ deprecated_register_gdbarch_swap (&old_regs, sizeof (old_regs), NULL);
+ deprecated_register_gdbarch_swap (&regformat, sizeof (regformat), NULL);
+ deprecated_register_gdbarch_swap (&regtype, sizeof (regtype), NULL);
+ deprecated_register_gdbarch_swap (NULL, 0, setup_architecture_data);
return TCL_OK;
}