aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-04-15 16:04:38 +0000
committerMark Kettenis <kettenis@gnu.org>2004-04-15 16:04:38 +0000
commitd1ad3f6f20ec8b6e0fc0fe37ba4d6e17a9f2da24 (patch)
treee77303041ab6ca30e31979fb5ca9be999fbc3984 /bfd/netbsd-core.c
parent* NEWS (New native configurations): Mention OpenBSD/vax. (diff)
downloadbinutils-gdb-d1ad3f6f20ec8b6e0fc0fe37ba4d6e17a9f2da24.tar.gz
binutils-gdb-d1ad3f6f20ec8b6e0fc0fe37ba4d6e17a9f2da24.tar.bz2
binutils-gdb-d1ad3f6f20ec8b6e0fc0fe37ba4d6e17a9f2da24.zip
* netbsd-core.c (netbsd_core_file_p): Set architecture for VAX
core files.
Diffstat (limited to 'bfd/netbsd-core.c')
-rw-r--r--bfd/netbsd-core.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/bfd/netbsd-core.c b/bfd/netbsd-core.c
index fca801347da..c23671a8c8e 100644
--- a/bfd/netbsd-core.c
+++ b/bfd/netbsd-core.c
@@ -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;