From c988ac1de5bc0efec2022fc6ce7d13b24e540099 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 4 Jan 2017 12:15:22 -0800 Subject: [PATCH] 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. --- 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 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); } -- 2.30.2