summaryrefslogtreecommitdiff
path: root/bfd/irix-core.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-02-18 22:29:52 +0000
committerNick Clifton <nickc@redhat.com>2001-02-18 22:29:52 +0000
commitdc3febfa6ef6fa1bc6a9239f85db6faf6006655c (patch)
treeebe515cf0813a771dc548d48955bd039619b19b6 /bfd/irix-core.c
parentea412e04e5d92431db4b2048143535505cc33455 (diff)
Set the architecture (GDB multiarch needs it).
Diffstat (limited to 'bfd/irix-core.c')
-rw-r--r--bfd/irix-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/irix-core.c b/bfd/irix-core.c
index 006e6a751b..026e1e0366 100644
--- a/bfd/irix-core.c
+++ b/bfd/irix-core.c
@@ -165,8 +165,9 @@ irix_core_core_file_p (abfd)
idg->i_len + idf->i_len + ids->i_len,
0,
idg->i_offset);
-
+
/* OK, we believe you. You're a core file (sure, sure). */
+ bfd_default_set_arch_mach (abfd, bfd_arch_mips, 0);
return abfd->xvec;
}