From: Mark Kettenis Date: Fri, 20 Feb 2004 18:46:34 +0000 (+0000) Subject: * NEWS (New native configurations): Mention OpenBSD/alpha. X-Git-Tag: gprof-pre-ansify-2004-05-26~1167 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2031c21ae70d4cc45827d17d561097a74b66b374;p=platform%2Fupstream%2Fbinutils.git * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b58adc6f8f1..2e4cb978cf1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2004-02-20 Mark Kettenis + + * 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 Fix PR tdep/1372. diff --git a/gdb/NEWS b/gdb/NEWS index 9ee0cec9227..8314f052ede 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 efb7ab9b47d..28d1bb506b7 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 9632d7e5423..f775746a2a6 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 29e2fe043d3..76eb8ec1ac9 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 ;;