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 119a9a0..6f35a0f 100644 (file)
@@ -1,5 +1,10 @@
 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.
        * NEWS: Mention new FreeBSD/mips native configuration.
        * config/mips/fbsd.mh: New file.
index 733534d..ba8c07e 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);
 }