aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-02-20 18:46:34 +0000
committerMark Kettenis <kettenis@gnu.org>2004-02-20 18:46:34 +0000
commit2031c21ae70d4cc45827d17d561097a74b66b374 (patch)
treec37244bd74207cb68eb930f3795214df669e7704
parent42471775ef8a345f81d1f957ae83b026211c2a9a (diff)
downloadgdb-2031c21ae70d4cc45827d17d561097a74b66b374.zip
gdb-2031c21ae70d4cc45827d17d561097a74b66b374.tar.gz
gdb-2031c21ae70d4cc45827d17d561097a74b66b374.tar.bz2
* 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.
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/NEWS1
-rw-r--r--gdb/alphanbsd-tdep.c5
-rw-r--r--gdb/configure.host1
-rw-r--r--gdb/configure.tgt1
5 files changed, 15 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b58adc6..2e4cb97 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/NEWS b/gdb/NEWS
index 9ee0cec9..8314f05 100644
--- 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*
diff --git a/gdb/alphanbsd-tdep.c b/gdb/alphanbsd-tdep.c
index efb7ab9..28d1bb5 100644
--- a/gdb/alphanbsd-tdep.c
+++ b/gdb/alphanbsd-tdep.c
@@ -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);
diff --git a/gdb/configure.host b/gdb/configure.host
index 9632d7e..f775746 100644
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -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 ;;
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 29e2fe0..76eb8ec 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -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 ;;