aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/mn10300-tdep.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 81f7ac6..623e5cd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2004-01-18 Andrew Cagney <cagney@redhat.com>
+ * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
+ instead of register_gdbarch_init.
+
* remote-sds.c (tohex): Delete unused function. Update copyright.
* xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
* v850-tdep.c (v850_register_virtual_size): Ditto.
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);
}