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
commitb6af2cc8cbb7a6afea761976c1c5b283807df5c9 (patch)
tree97f54a45aad7d1a094681f99ca2cef70badff3eb /bfd/irix-core.c
parent319fcfdc5753ebdeda36d06a531682b02834181e (diff)
downloadbinutils-redhat-b6af2cc8cbb7a6afea761976c1c5b283807df5c9.tar.gz
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;
}