From: John Baldwin Date: Wed, 4 Jan 2017 20:15:22 +0000 (-0800) Subject: Use correct OSABI constant for FreeBSD/mips binaries. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c988ac1de5bc0efec2022fc6ce7d13b24e540099;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 119a9a0a227..6f35a0f1c88 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-01-04 John Baldwin + + * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use + GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF. + 2017-01-04 John Baldwin * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c. diff --git a/gdb/mips-fbsd-tdep.c b/gdb/mips-fbsd-tdep.c index 733534ddac8..ba8c07eb681 100644 --- a/gdb/mips-fbsd-tdep.c +++ b/gdb/mips-fbsd-tdep.c @@ -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); }