This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[2nd request for approval]


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;
 }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]