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.
+2004-01-23 Mark Kettenis <kettenis@gnu.org>
+
+ * 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.
+
2004-01-22 Mark Kettenis <kettenis@gnu.org>
* sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
* New native configurations
NetBSD/amd64 x86_64-*-netbsd*
+OpenBSD/sparc sparc-*-openbsd*
+OpenBSD/sparc64 sparc64-*-openbsd*
* New debugging protocols
sparc-*-netbsdaout*) gdb_host=nbsdaout ;;
sparc-*-netbsd*) gdb_host=nbsdaout ;;
sparc64-*-netbsd*) gdb_host=nbsd64 ;;
+sparc-*-openbsd*) gdb_host=nbsdelf ;;
+sparc64-*-openbsd*) gdb_host=nbsd64 ;;
sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
gdb_host=sol2
;;
sparc64-*-linux*) gdb_target=linux64 ;;
sparc-*-netbsd*) gdb_target=nbsd ;;
sparc64-*-netbsd*) gdb_target=nbsd64 ;;
+sparc-*-openbsd*) gdb_target=nbsd ;;
+sparc64-*-openbsd*) gdb_target=nbsd64 ;;
sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
gdb_target=sol2
;;
{
gdbarch_register_osabi (bfd_arch_sparc, bfd_mach_sparc_v9,
GDB_OSABI_NETBSD_ELF, sparc64nbsd_init_abi);
+ gdbarch_register_osabi (bfd_arch_sparc, bfd_mach_sparc_v9,
+ GDB_OSABI_OPENBSD_ELF, sparc64nbsd_init_abi);
}
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);
}