]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* netbsd-core.c (netbsd_core_file_p): Set architecture for VAX
authorMark Kettenis <kettenis@gnu.org>
Thu, 15 Apr 2004 16:04:38 +0000 (16:04 +0000)
committerMark Kettenis <kettenis@gnu.org>
Thu, 15 Apr 2004 16:04:38 +0000 (16:04 +0000)
core files.

bfd/ChangeLog
bfd/netbsd-core.c

index 5bd1d7452153444bec165dff879f548d6e88edd7..f12dc09547212ddf7c2d8340e9019ba79b59a36c 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX
+       core files.
+
 2004-04-15  Nick Clifton  <nickc@redhat.com>
 
        * bfd.c (bfd_archive_filename): Catch NULL bfd pointers.
index fca801347da11a84f4179061ee3e8a3480cbe9a5..c23671a8c8ed786ac10637872006876d041f903a 100644 (file)
@@ -185,8 +185,13 @@ netbsd_core_file_p (abfd)
    case M_SPARC64_OPENBSD:
      bfd_default_set_arch_mach (abfd, bfd_arch_sparc, bfd_mach_sparc_v9);
      break;
+
+   case M_VAX_NETBSD:
+   case M_VAX4K_NETBSD:
+     bfd_default_set_arch_mach (abfd, bfd_arch_vax, 0);
+     break;
    }
+
   /* OK, we believe you.  You're a core file (sure, sure).  */
   return abfd->xvec;