OSDN Git Service

* NEWS (New native configurations): Mention OpenBSD/alpha.
authorMark Kettenis <kettenis@gnu.org>
Fri, 20 Feb 2004 18:46:34 +0000 (18:46 +0000)
committerMark Kettenis <kettenis@gnu.org>
Fri, 20 Feb 2004 18:46:34 +0000 (18:46 +0000)
* 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.

gdb/ChangeLog
gdb/NEWS
gdb/alphanbsd-tdep.c
gdb/configure.host
gdb/configure.tgt

index b58adc6..2e4cb97 100644 (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>
 
        Fix PR tdep/1372.
index 9ee0cec..8314f05 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -39,6 +39,7 @@ encountered these.
 * New native configurations
 
 NetBSD/amd64                                   x86_64-*-netbsd*
+OpenBSD/alpha                                  alpha*-*-openbsd*
 OpenBSD/sparc                                  sparc-*-openbsd*
 OpenBSD/sparc64                                        sparc64-*-openbsd*
 
index efb7ab9..28d1bb5 100644 (file)
@@ -1,5 +1,6 @@
 /* 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.
 
    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,
                           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_elfcore_fns);
index 9632d7e..f775746 100644 (file)
@@ -37,6 +37,7 @@ alpha*-*-osf[3456789]*)       gdb_host=alpha-osf3 ;;
 alpha*-*-linux*)       gdb_host=alpha-linux ;;
 alpha*-*-freebsd*)     gdb_host=fbsd ;;
 alpha*-*-netbsd*)      gdb_host=nbsd ;;
+alpha*-*-openbsd*)     gdb_host=nbsd ;;
 
 arm*-*-linux*)         gdb_host=linux ;;
 arm*-*-netbsdelf*)     gdb_host=nbsdelf ;;
index 29e2fe0..76eb8ec 100644 (file)
@@ -43,6 +43,7 @@ x86_64-*-freebsd*)    gdb_target=fbsd64 ;;
 alpha*-*-osf*)         gdb_target=alpha-osf1 ;;
 alpha*-*-linux*)       gdb_target=alpha-linux ;;
 alpha*-*-netbsd*)      gdb_target=nbsd ;;
+alpha*-*-openbsd*)     gdb_target=nbsd ;;
 alpha*-*-*)            gdb_target=alpha ;;
 
 arm*-wince-pe)         gdb_target=wince ;;