mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
* netbsd-core.c (netbsd_core_file_p): Set architecture for VAX
core files.
This commit is contained in:
parent
9f076e7a44
commit
d1ad3f6f20
@ -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>
|
2004-04-15 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* bfd.c (bfd_archive_filename): Catch NULL bfd pointers.
|
* bfd.c (bfd_archive_filename): Catch NULL bfd pointers.
|
||||||
|
@ -185,8 +185,13 @@ netbsd_core_file_p (abfd)
|
|||||||
case M_SPARC64_OPENBSD:
|
case M_SPARC64_OPENBSD:
|
||||||
bfd_default_set_arch_mach (abfd, bfd_arch_sparc, bfd_mach_sparc_v9);
|
bfd_default_set_arch_mach (abfd, bfd_arch_sparc, bfd_mach_sparc_v9);
|
||||||
break;
|
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). */
|
/* OK, we believe you. You're a core file (sure, sure). */
|
||||||
return abfd->xvec;
|
return abfd->xvec;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user