summaryrefslogtreecommitdiff
path: root/bfd/netbsd-core.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-04-18 20:55:55 +0000
committerMark Kettenis <kettenis@gnu.org>2004-04-18 20:55:55 +0000
commit3c5c10537e13ea9713dae27c737f121218e3ed82 (patch)
tree957b0641955b83b858f733765afb986d8ece977b /bfd/netbsd-core.c
parent4d1c470e8fcf264c73a822381e66e82ef1098a78 (diff)
downloadgdb-3c5c10537e13ea9713dae27c737f121218e3ed82.tar.gz
* libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
* netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC core files.
Diffstat (limited to 'bfd/netbsd-core.c')
-rw-r--r--bfd/netbsd-core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/netbsd-core.c b/bfd/netbsd-core.c
index c23671a8c8e..570c0f750ac 100644
--- a/bfd/netbsd-core.c
+++ b/bfd/netbsd-core.c
@@ -177,6 +177,10 @@ netbsd_core_file_p (abfd)
bfd_default_set_arch_mach (abfd, bfd_arch_i386, bfd_mach_i386_i386);
break;
+ case M_POWERPC_NETBSD:
+ bfd_default_set_arch_mach (abfd, bfd_arch_powerpc, bfd_mach_ppc);
+ break;
+
case M_SPARC_NETBSD:
bfd_default_set_arch_mach (abfd, bfd_arch_sparc, bfd_mach_sparc);
break;