diff mbox

[pushed,(build,break)] Use correct OSABI constant for FreeBSD/mips binaries.

Message ID 20170104201811.98829-1-jhb@FreeBSD.org
State New
Headers show

Commit Message

John Baldwin Jan. 4, 2017, 8:18 p.m. UTC
gdb/ChangeLog:

	* mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
	GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
---
 gdb/ChangeLog        | 5 +++++
 gdb/mips-fbsd-tdep.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 119a9a0a22..6f35a0f1c8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/mips-fbsd-tdep.c b/gdb/mips-fbsd-tdep.c
index 733534ddac..ba8c07eb68 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);
 }