Use correct OSABI constant for FreeBSD/mips binaries.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 4 Jan 2017 20:15:22 +0000 (12:15 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 4 Jan 2017 20:15:22 +0000 (12:15 -0800)
gdb/ChangeLog:

* mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.

gdb/ChangeLog
gdb/mips-fbsd-tdep.c

index 119a9a0a22763693d207276b683421f7b3a22dc2..6f35a0f1c88b7ed9a4aee526cb2033b046ab59f1 100644 (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.
index 733534ddac86e8c8c228886c4c219cc9e8cfc350..ba8c07eb68113d220f7926e24a69e83806b8c4de 100644 (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);
 }