* NEWS (New native configurations): Mention OpenBSD/alpha.

* configure.tgt: Add alpha*-*-openbsd*.
* configure.host: Add alpha*-*-openbsd*.
* alphanbsd-tdep.c: Update copyright year.
(_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.
This commit is contained in:
Mark Kettenis 2004-02-20 18:46:34 +00:00
parent 42471775ef
commit 2031c21ae7
5 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2004-02-20 Mark Kettenis <kettenis@gnu.org>
* NEWS (New native configurations): Mention OpenBSD/alpha.
* configure.tgt: Add alpha*-*-openbsd*.
* configure.host: Add alpha*-*-openbsd*.
* alphanbsd-tdep.c: Update copyright year.
(_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.
2004-02-20 Andrew Cagney <cagney@redhat.com> 2004-02-20 Andrew Cagney <cagney@redhat.com>
Fix PR tdep/1372. Fix PR tdep/1372.

View File

@ -39,6 +39,7 @@ encountered these.
* New native configurations * New native configurations
NetBSD/amd64 x86_64-*-netbsd* NetBSD/amd64 x86_64-*-netbsd*
OpenBSD/alpha alpha*-*-openbsd*
OpenBSD/sparc sparc-*-openbsd* OpenBSD/sparc sparc-*-openbsd*
OpenBSD/sparc64 sparc64-*-openbsd* OpenBSD/sparc64 sparc64-*-openbsd*

View File

@ -1,5 +1,6 @@
/* Target-dependent code for NetBSD/Alpha. /* Target-dependent code for NetBSD/Alpha.
Copyright 2002, 2003 Free Software Foundation, Inc.
Copyright 2002, 2003, 2004 Free Software Foundation, Inc.
Contributed by Wasabi Systems, Inc. Contributed by Wasabi Systems, Inc.
This file is part of GDB. This file is part of GDB.
@ -225,6 +226,8 @@ _initialize_alphanbsd_tdep (void)
{ {
gdbarch_register_osabi (bfd_arch_alpha, 0, GDB_OSABI_NETBSD_ELF, gdbarch_register_osabi (bfd_arch_alpha, 0, GDB_OSABI_NETBSD_ELF,
alphanbsd_init_abi); alphanbsd_init_abi);
gdbarch_register_osabi (bfd_arch_alpha, 0, GDB_OSABI_OPENBSD_ELF,
alphanbsd_init_abi);
add_core_fns (&alphanbsd_core_fns); add_core_fns (&alphanbsd_core_fns);
add_core_fns (&alphanbsd_elfcore_fns); add_core_fns (&alphanbsd_elfcore_fns);

View File

@ -37,6 +37,7 @@ alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;;
alpha*-*-linux*) gdb_host=alpha-linux ;; alpha*-*-linux*) gdb_host=alpha-linux ;;
alpha*-*-freebsd*) gdb_host=fbsd ;; alpha*-*-freebsd*) gdb_host=fbsd ;;
alpha*-*-netbsd*) gdb_host=nbsd ;; alpha*-*-netbsd*) gdb_host=nbsd ;;
alpha*-*-openbsd*) gdb_host=nbsd ;;
arm*-*-linux*) gdb_host=linux ;; arm*-*-linux*) gdb_host=linux ;;
arm*-*-netbsdelf*) gdb_host=nbsdelf ;; arm*-*-netbsdelf*) gdb_host=nbsdelf ;;

View File

@ -43,6 +43,7 @@ x86_64-*-freebsd*) gdb_target=fbsd64 ;;
alpha*-*-osf*) gdb_target=alpha-osf1 ;; alpha*-*-osf*) gdb_target=alpha-osf1 ;;
alpha*-*-linux*) gdb_target=alpha-linux ;; alpha*-*-linux*) gdb_target=alpha-linux ;;
alpha*-*-netbsd*) gdb_target=nbsd ;; alpha*-*-netbsd*) gdb_target=nbsd ;;
alpha*-*-openbsd*) gdb_target=nbsd ;;
alpha*-*-*) gdb_target=alpha ;; alpha*-*-*) gdb_target=alpha ;;
arm*-wince-pe) gdb_target=wince ;; arm*-wince-pe) gdb_target=wince ;;