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 | 54fe91723647abc320c9060fa403dc7d0d4f9d63 (patch) | |
tree | 64b85440da5be16b20891447ba1ab656a7d53150 /gdb/shnbsd-tdep.c | |
parent | 1e17aef8089ed44431967563b44bd5c999dc2c0e (diff) | |
download | gdb-54fe91723647abc320c9060fa403dc7d0d4f9d63.zip gdb-54fe91723647abc320c9060fa403dc7d0d4f9d63.tar.gz gdb-54fe91723647abc320c9060fa403dc7d0d4f9d63.tar.bz2 |
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 84b27bd..8e98048 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); } |