* NEWS (New targets): Mention OpenBSD/sh.
* configure.tgt: Add sh*-*-openbsd*.
* shnbsd-tdep.c (_initialize_shnbsd_tdep): Register handler for
GDB_OSABI_OPENBSD_ELF.
* config/sh/obsd.mt: New file.
2006-12-16 Mark Kettenis <kettenis@gnu.org>
+ Add OpenBSD/sh support.
+ * NEWS (New targets): Mention OpenBSD/sh.
+ * configure.tgt: Add sh*-*-openbsd*.
+ * shnbsd-tdep.c (_initialize_shnbsd_tdep): Register handler for
+ GDB_OSABI_OPENBSD_ELF.
+ * config/sh/obsd.mt: New file.
+
* ppcnbsd-tdep.c: Fix typo in comment.
2006-12-15 Mark Kettenis <kettenis@gnu.org>
* New targets
+OpenBSD/sh sh*-*-openbsd*
MIPS64 GNU/Linux (gdbserver) mips64-linux-gnu
* New remote packets
--- /dev/null
+# Target: OpenBSD/sh
+TDEPFILES= sh-tdep.o sh64-tdep.o shnbsd-tdep.o nbsd-tdep.o \
+ corelow.o solib.o solib-svr4.o
sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
gdb_target=nbsd ;;
sh-*-nto*) gdb_target=nto ;;
+sh*-*-openbsd*) gdb_target=obsd ;;
sh64-*-elf*) gdb_target=sh64 ;;
sh*) gdb_target=embed ;;
-/* Target-dependent code for SuperH running NetBSD, for GDB.
- Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+/* Target-dependent code for NetBSD/sh.
+
+ Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
+
Contributed by Wasabi Systems, Inc.
This file is part of GDB.
gdbarch_register_osabi (bfd_arch_sh, 0, GDB_OSABI_NETBSD_ELF,
shnbsd_init_abi);
+ gdbarch_register_osabi (bfd_arch_sh, 0, GDB_OSABI_OPENBSD_ELF,
+ shnbsd_init_abi);
}