diff options
author | Keith Seitz <keiths@redhat.com> | 2007-06-28 03:54:31 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2007-06-28 03:54:31 +0000 |
commit | 31856da2e2044e5f60f3639b0c1da0ce39394da5 (patch) | |
tree | 3f4fb2e49ed290e4b3341fb6063f4e3424a1fb67 /gdb/gdbtk/generic | |
parent | 16b849a924d6884b6895643a2924d0701e3ad286 (diff) | |
download | gdb-31856da2e2044e5f60f3639b0c1da0ce39394da5.tar.gz |
* generic/gdbtk-register.c (Gdbtk_Register_Init): Remove
calls to deprecated_register_gdbarch_swap.
Add "gdb_reg_arch_changed" command.
* library/regwin.itb (arch_changed): Call gdb_reg_arch_changed.
Diffstat (limited to 'gdb/gdbtk/generic')
-rw-r--r-- | gdb/gdbtk/generic/gdbtk-register.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/gdbtk/generic/gdbtk-register.c b/gdb/gdbtk/generic/gdbtk-register.c index 7e98c5fba7d..0e40fa4ea4c 100644 --- a/gdb/gdbtk/generic/gdbtk-register.c +++ b/gdb/gdbtk/generic/gdbtk-register.c @@ -58,15 +58,12 @@ Gdbtk_Register_Init (Tcl_Interp *interp) { Tcl_CreateObjCommand (interp, "gdb_reginfo", gdbtk_call_wrapper, gdb_register_info, NULL); + Tcl_CreateObjCommand (interp, "gdb_reg_arch_changed", gdbtk_call_wrapper, + setup_architecture_data, NULL); /* Register/initialize any architecture specific data */ setup_architecture_data (); - deprecated_register_gdbarch_swap (&old_regs, sizeof (old_regs), NULL); - deprecated_register_gdbarch_swap (®format, sizeof (regformat), NULL); - deprecated_register_gdbarch_swap (®type, sizeof (regtype), NULL); - deprecated_register_gdbarch_swap (NULL, 0, setup_architecture_data); - return TCL_OK; } |