diff options
author | Tom Tromey <tom@tromey.com> | 2022-07-31 10:44:01 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-08-16 07:29:46 -0600 |
commit | ec29a63c80602056bfc8533d230394d0db14b982 (patch) | |
tree | e16e0f1a660105aaf314af59dbedf05042917743 /gdb/frv-tdep.c | |
parent | 45d92439aebd0386ef8af76e1796d08cfe457e1d (diff) | |
download | binutils-ec29a63c80602056bfc8533d230394d0db14b982.zip binutils-ec29a63c80602056bfc8533d230394d0db14b982.tar.gz binutils-ec29a63c80602056bfc8533d230394d0db14b982.tar.bz2 |
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/frv-tdep.c')
-rw-r--r-- | gdb/frv-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c index 55a6cfd..8029080 100644 --- a/gdb/frv-tdep.c +++ b/gdb/frv-tdep.c @@ -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); } |