This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[2nd request for approval]
- To: binutils at sources dot redhat dot com
- Subject: [2nd request for approval]
- From: Jim Kingdon <kingdon at panix dot com>
- Date: Tue, 13 Feb 2001 18:40:13 -0500 (EST)
- Cc: ulfc at engr dot sgi dot com
This patch lets GDB read Irix N32 core dumps.
The listed maintainer for MIPS is Ulf Carlsson <ulfc@engr.sgi.com> -
feel free to call me Ulf if you have any questions; I'm over in
building 41.
Previously sent at:
http://sources.redhat.com/ml/binutils/2001-02/msg00199.html
Companion patch:
http://sources.redhat.com/ml/gdb-patches/2001-02/msg00191.html
2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
* irix-core.c (irix_core_core_file_p): Set the architecture (GDB
multiarch needs it).
Index: irix-core.c
===================================================================
RCS file: /cvs/src/src/bfd/irix-core.c,v
retrieving revision 1.2
diff -u -r1.2 irix-core.c
--- irix-core.c 1999/07/19 14:55:16 1.2
+++ irix-core.c 2001/02/13 23:35:20
@@ -168,6 +168,8 @@
/* OK, we believe you. You're a core file (sure, sure). */
+ bfd_default_set_arch_mach (abfd, bfd_arch_mips, 0);
+
return abfd->xvec;
}