summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb/m68kbsd-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/m68kbsd-tdep.c')
-rw-r--r--gnu/usr.bin/binutils/gdb/m68kbsd-tdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/m68kbsd-tdep.c b/gnu/usr.bin/binutils/gdb/m68kbsd-tdep.c
index 40606684537..404320e0466 100644
--- a/gnu/usr.bin/binutils/gdb/m68kbsd-tdep.c
+++ b/gnu/usr.bin/binutils/gdb/m68kbsd-tdep.c
@@ -167,7 +167,7 @@ m68kbsd_aout_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
(gdbarch, m68kbsd_aout_in_solib_call_trampoline);
}
-/* NetBSD ELF. */
+/* NetBSD/OpenBSD ELF. */
static void
m68kbsd_elf_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
@@ -225,4 +225,6 @@ _initialize_m68kbsd_tdep (void)
m68kbsd_aout_init_abi);
gdbarch_register_osabi (bfd_arch_m68k, 0, GDB_OSABI_NETBSD_ELF,
m68kbsd_elf_init_abi);
+ gdbarch_register_osabi (bfd_arch_m68k, 0, GDB_OSABI_OPENBSD_ELF,
+ m68kbsd_elf_init_abi);
}