public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH, pushed (build break)] Use correct OSABI constant for FreeBSD/mips binaries.
@ 2017-01-04 20:19 John Baldwin
  0 siblings, 0 replies; only message in thread
From: John Baldwin @ 2017-01-04 20:19 UTC (permalink / raw)
  To: gdb-patches

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 --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);
 }
-- 
2.11.0

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-04 20:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-04 20:19 [PATCH, pushed (build break)] Use correct OSABI constant for FreeBSD/mips binaries John Baldwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).