Use correct OSABI constant for FreeBSD/mips binaries.

gdb/ChangeLog:

	* mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
	GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
This commit is contained in:
John Baldwin 2017-01-04 12:15:22 -08:00
parent b268007c68
commit c988ac1de5
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-01-04 John Baldwin <jhb@FreeBSD.org>
* mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
2017-01-04 John Baldwin <jhb@FreeBSD.org>
* Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.

View File

@ -555,6 +555,6 @@ void _initialize_mips_fbsd_tdep (void);
void
_initialize_mips_fbsd_tdep (void)
{
gdbarch_register_osabi (bfd_arch_mips, 0, GDB_OSABI_FREEBSD_ELF,
gdbarch_register_osabi (bfd_arch_mips, 0, GDB_OSABI_FREEBSD,
mips_fbsd_init_abi);
}