summaryrefslogtreecommitdiff
path: root/gdb/xstormy16-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-07-31 10:44:01 -0600
committerTom Tromey <tom@tromey.com>2022-08-16 07:29:46 -0600
commitec29a63c80602056bfc8533d230394d0db14b982 (patch)
treee16e0f1a660105aaf314af59dbedf05042917743 /gdb/xstormy16-tdep.c
parent45d92439aebd0386ef8af76e1796d08cfe457e1d (diff)
downloadbinutils-gdb-ec29a63c80602056bfc8533d230394d0db14b982.tar.gz
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.
Diffstat (limited to 'gdb/xstormy16-tdep.c')
-rw-r--r--gdb/xstormy16-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c
index c0fe5dab1cb..10c0d3e6b1c 100644
--- a/gdb/xstormy16-tdep.c
+++ b/gdb/xstormy16-tdep.c
@@ -838,5 +838,5 @@ void _initialize_xstormy16_tdep ();
void
_initialize_xstormy16_tdep ()
{
- register_gdbarch_init (bfd_arch_xstormy16, xstormy16_gdbarch_init);
+ gdbarch_register (bfd_arch_xstormy16, xstormy16_gdbarch_init);
}