From: Andrew Cagney Date: Mon, 19 Jan 2004 02:50:15 +0000 (+0000) Subject: 2004-01-18 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43e9390bf0b34b36d224e08e1255d6ec81edb191;p=binutils-gdb.git 2004-01-18 Andrew Cagney * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register instead of register_gdbarch_init. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 81f7ac6813f..623e5cd5c6f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2004-01-18 Andrew Cagney + * 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 ec7d19e3516..a6ef1ca4a63 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); }