forked from Imagelibrary/binutils-gdb
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:
@@ -374,7 +374,7 @@ void _initialize_bpf_tdep ();
|
||||
void
|
||||
_initialize_bpf_tdep ()
|
||||
{
|
||||
register_gdbarch_init (bfd_arch_bpf, bpf_gdbarch_init);
|
||||
gdbarch_register (bfd_arch_bpf, bpf_gdbarch_init);
|
||||
|
||||
/* Add commands 'set/show debug bpf'. */
|
||||
add_setshow_zuinteger_cmd ("bpf", class_maintenance,
|
||||
|
||||
Reference in New Issue
Block a user