2004-01-18 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 19 Jan 2004 02:50:15 +0000 (02:50 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 19 Jan 2004 02:50:15 +0000 (02:50 +0000)
* mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
instead of register_gdbarch_init.

gdb/ChangeLog
gdb/mn10300-tdep.c

index 81f7ac6813f11dd8389247f835aa88f41977e216..623e5cd5c6f08138ec1574f5ca4157210058a53b 100644 (file)
@@ -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.
index ec7d19e3516713dc27dbf79233e182923daa557d..a6ef1ca4a6364c70521f09da71794f146c51bc89 100644 (file)
@@ -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);
 }