* NEWS (New native configurations): Mention OpenBSD/sparc and
authorMark Kettenis <kettenis@gnu.org>
Thu, 22 Jan 2004 23:18:04 +0000 (23:18 +0000)
committerMark Kettenis <kettenis@gnu.org>
Thu, 22 Jan 2004 23:18:04 +0000 (23:18 +0000)
OpenBSD/sparc64.
* configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
* configure.host: Likewise.
* sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
handler for OpenBSD.
* sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.

gdb/ChangeLog
gdb/NEWS
gdb/configure.host
gdb/configure.tgt
gdb/sparc64nbsd-tdep.c
gdb/sparcnbsd-tdep.c

index c3adf21c1c0c536b48517fd3382a6a3c097f1944..484efb4a03c69ce8081c309a95c14f933985fde3 100644 (file)
@@ -1,3 +1,13 @@
+2004-01-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * NEWS (New native configurations): Mention OpenBSD/sparc and
+       OpenBSD/sparc64.
+       * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
+       * configure.host: Likewise.
+       * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
+       handler for OpenBSD.
+       * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
+
 2004-01-22  Mark Kettenis  <kettenis@gnu.org>
 
        * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
index 71f45c3c01d77dee3aaaac6cd9d6e27173423947..f24f592db510aef9c99786152c3b1d11d391bc35 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -37,6 +37,8 @@ encountered these.
 * New native configurations
 
 NetBSD/amd64                                   x86_64-*-netbsd*
+OpenBSD/sparc                                  sparc-*-openbsd*
+OpenBSD/sparc64                                        sparc64-*-openbsd*
 
 * New debugging protocols
 
index 6f2848210155f4dff54cffbc33c24b93314939a4..a61de2a0f905507c91259655d2cd6eb3e9515860 100644 (file)
@@ -132,6 +132,8 @@ sparc-*-netbsdelf*) gdb_host=nbsdelf ;;
 sparc-*-netbsdaout*)   gdb_host=nbsdaout ;;
 sparc-*-netbsd*)       gdb_host=nbsdaout ;;
 sparc64-*-netbsd*)     gdb_host=nbsd64 ;;
+sparc-*-openbsd*)      gdb_host=nbsdelf ;;
+sparc64-*-openbsd*)    gdb_host=nbsd64 ;;
 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
                        gdb_host=sol2
                        ;;
index f974631569c1f5ada573f71e7653ef1ef8f76949..d57018b57fc24e6e294079c7e692aaeb88507da8 100644 (file)
@@ -190,6 +190,8 @@ sparc-*-linux*)             gdb_target=linux ;;
 sparc64-*-linux*)      gdb_target=linux64 ;;
 sparc-*-netbsd*)       gdb_target=nbsd ;;
 sparc64-*-netbsd*)     gdb_target=nbsd64 ;;
+sparc-*-openbsd*)      gdb_target=nbsd ;;
+sparc64-*-openbsd*)    gdb_target=nbsd64 ;;
 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
                        gdb_target=sol2
                        ;;
index 58b87b3d597d11571af174ac94fe3bf81c5022bf..dccb3a1810d9170c64b635726007a590920ccd21 100644 (file)
@@ -243,4 +243,6 @@ _initialize_sparc64nbsd_tdep (void)
 {
   gdbarch_register_osabi (bfd_arch_sparc, bfd_mach_sparc_v9,
                          GDB_OSABI_NETBSD_ELF, sparc64nbsd_init_abi);
+  gdbarch_register_osabi (bfd_arch_sparc, bfd_mach_sparc_v9,
+                         GDB_OSABI_OPENBSD_ELF, sparc64nbsd_init_abi);
 }
index 80e3db5a678ce0fb9c9f7f65e64b6c697bed6253..2547405ac55804e9a158dc53225421ef9c37c1c2 100644 (file)
@@ -312,4 +312,6 @@ _initialize_sparnbsd_tdep (void)
                          sparc32nbsd_aout_init_abi);
   gdbarch_register_osabi (bfd_arch_sparc, 0, GDB_OSABI_NETBSD_ELF,
                          sparc32nbsd_elf_init_abi);
+  gdbarch_register_osabi (bfd_arch_sparc, 0, GDB_OSABI_OPENBSD_ELF,
+                         sparc32nbsd_elf_init_abi);
 }