Remove register_gdbarch_init

This removes the deprecated register_gdbarch_init in favor a default
argument to gdbarch_register.  Regression tested on x86-64 Fedora 34.
This commit is contained in:
Tom Tromey
2022-07-31 10:44:01 -06:00
parent 45d92439ae
commit ec29a63c80
29 changed files with 32 additions and 43 deletions

View File

@ -1575,5 +1575,5 @@ void _initialize_frv_tdep ();
void
_initialize_frv_tdep ()
{
register_gdbarch_init (bfd_arch_frv, frv_gdbarch_init);
gdbarch_register (bfd_arch_frv, frv_gdbarch_init);
}