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

@ -916,5 +916,5 @@ void _initialize_m32r_tdep ();
void
_initialize_m32r_tdep ()
{
register_gdbarch_init (bfd_arch_m32r, m32r_gdbarch_init);
gdbarch_register (bfd_arch_m32r, m32r_gdbarch_init);
}