aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparcnbsd-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-01-22 23:18:04 +0000
committerMark Kettenis <kettenis@gnu.org>2004-01-22 23:18:04 +0000
commitf2cab56957f1985ffb37a7cb7279934d4839ce2e (patch)
treec8bd86ff02ca75c9a134ae591dfbd2994c57a47c /gdb/sparcnbsd-tdep.c
parent8a58e4e85fad075279e6175dc15cc65f705e6788 (diff)
downloadgdb-f2cab56957f1985ffb37a7cb7279934d4839ce2e.zip
gdb-f2cab56957f1985ffb37a7cb7279934d4839ce2e.tar.gz
gdb-f2cab56957f1985ffb37a7cb7279934d4839ce2e.tar.bz2
* NEWS (New native configurations): Mention OpenBSD/sparc and
OpenBSD/sparc64. * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*. * configure.host: Likewise. * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI handler for OpenBSD. * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
Diffstat (limited to 'gdb/sparcnbsd-tdep.c')
-rw-r--r--gdb/sparcnbsd-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/sparcnbsd-tdep.c b/gdb/sparcnbsd-tdep.c
index 80e3db5..2547405 100644
--- a/gdb/sparcnbsd-tdep.c
+++ b/gdb/sparcnbsd-tdep.c
@@ -312,4 +312,6 @@ _initialize_sparnbsd_tdep (void)
sparc32nbsd_aout_init_abi);
gdbarch_register_osabi (bfd_arch_sparc, 0, GDB_OSABI_NETBSD_ELF,
sparc32nbsd_elf_init_abi);
+ gdbarch_register_osabi (bfd_arch_sparc, 0, GDB_OSABI_OPENBSD_ELF,
+ sparc32nbsd_elf_init_abi);
}