aboutsummaryrefslogtreecommitdiff
path: root/gdb/mn10300-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-19 02:50:15 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-19 02:50:15 +0000
commit43e9390bf0b34b36d224e08e1255d6ec81edb191 (patch)
tree914412477902ba415d4c6faf5e862b031fbe8298 /gdb/mn10300-tdep.c
parentc6f0559b48289f9b295ab3fac1bb5d78f88e5d91 (diff)
downloadgdb-43e9390bf0b34b36d224e08e1255d6ec81edb191.zip
gdb-43e9390bf0b34b36d224e08e1255d6ec81edb191.tar.gz
gdb-43e9390bf0b34b36d224e08e1255d6ec81edb191.tar.bz2
2004-01-18 Andrew Cagney <cagney@redhat.com>
* mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register instead of register_gdbarch_init.
Diffstat (limited to 'gdb/mn10300-tdep.c')
-rw-r--r--gdb/mn10300-tdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c
index ec7d19e..a6ef1ca 100644
--- a/gdb/mn10300-tdep.c
+++ b/gdb/mn10300-tdep.c
@@ -1208,6 +1208,5 @@ void
_initialize_mn10300_tdep (void)
{
/* printf("_initialize_mn10300_tdep\n"); */
-
- register_gdbarch_init (bfd_arch_mn10300, mn10300_gdbarch_init);
+ gdbarch_register (bfd_arch_mn10300, mn10300_gdbarch_init, mn10300_dump_tdep);
}