diff options
author | Mark Kettenis <kettenis@gnu.org> | 2006-12-15 23:45:04 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2006-12-15 23:45:04 +0000 |
commit | 3dfae23524c4443c1f621952f2b34ef317bf97cf (patch) | |
tree | 9ba5836b028417a4bcd0e1a5bd48a9cf08a8baee /gdb/shnbsd-tdep.c | |
parent | 50c05b83457256dbbd688b6171fc66a81ec7c147 (diff) | |
download | gdb-3dfae23524c4443c1f621952f2b34ef317bf97cf.tar.gz |
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.
Diffstat (limited to 'gdb/shnbsd-tdep.c')
-rw-r--r-- | gdb/shnbsd-tdep.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/shnbsd-tdep.c b/gdb/shnbsd-tdep.c index 84b27bda05b..8e98048fe68 100644 --- a/gdb/shnbsd-tdep.c +++ b/gdb/shnbsd-tdep.c @@ -1,5 +1,7 @@ -/* 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. @@ -184,4 +186,6 @@ _initialize_shnbsd_tdep (void) 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); } |