Remove register_gdbarch_init
authorTom Tromey <tom@tromey.com>
Sun, 31 Jul 2022 16:44:01 +0000 (10:44 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 16 Aug 2022 13:29:46 +0000 (07:29 -0600)
commitec29a63c80602056bfc8533d230394d0db14b982
treee16e0f1a660105aaf314af59dbedf05042917743
parent45d92439aebd0386ef8af76e1796d08cfe457e1d
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.
29 files changed:
gdb/arch-utils.c
gdb/avr-tdep.c
gdb/bfin-tdep.c
gdb/bpf-tdep.c
gdb/csky-tdep.c
gdb/frv-tdep.c
gdb/ft32-tdep.c
gdb/gdbarch.h
gdb/h8300-tdep.c
gdb/i386-tdep.c
gdb/iq2000-tdep.c
gdb/lm32-tdep.c
gdb/m32c-tdep.c
gdb/m32r-tdep.c
gdb/m68hc11-tdep.c
gdb/mep-tdep.c
gdb/microblaze-tdep.c
gdb/moxie-tdep.c
gdb/msp430-tdep.c
gdb/nds32-tdep.c
gdb/rl78-tdep.c
gdb/rx-tdep.c
gdb/s390-tdep.c
gdb/sparc-tdep.c
gdb/tic6x-tdep.c
gdb/tilegx-tdep.c
gdb/v850-tdep.c
gdb/xstormy16-tdep.c
gdb/z80-tdep.c