/* Target-dependent code for SDE on MIPS processors.
- Copyright (C) 2014-2019 Free Software Foundation, Inc.
+ Copyright (C) 2014-2020 Free Software Foundation, Inc.
This file is part of GDB.
enum gdb_osabi *os_ident_ptr = (enum gdb_osabi *) obj;
const char *name;
- name = bfd_get_section_name (abfd, sect);
+ name = bfd_section_name (sect);
/* The presence of a section with a ".sde" prefix is indicative
of an SDE binary. */
frame_base_append_sniffer (gdbarch, mips_sde_frame_base_sniffer);
}
+void _initialize_mips_sde_tdep ();
void
-_initialize_mips_sde_tdep (void)
+_initialize_mips_sde_tdep ()
{
gdbarch_register_osabi_sniffer (bfd_arch_mips,
bfd_target_elf_flavour,