July 31 bfd change breaks mips gdb

Kevin Buettner kevinb@redhat.com
Tue Sep 3 17:06:00 GMT 2002


On Sep 3,  3:51pm, Michael Snyder wrote:

> This change:
> 
> 2002-07-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
> 
> 	[...]
> 	* elf32-mips.c (mips_elf32_object_p): Reject n32 ABI files.
> 
> breaks mips-gdb, since gdb can no longer recognize n32 mips files
> as executable binaries.

The patch below fixes the problem for me...

	* config.bfd (mips*-*-irix6*): Add new ABI vectors.  Make n32 default
	vector.

Index: config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.116
diff -u -p -r1.116 config.bfd
--- config.bfd	28 Aug 2002 10:38:44 -0000	1.116
+++ config.bfd	4 Sep 2002 00:03:07 -0000
@@ -701,8 +701,8 @@ case "${targ}" in
     ;;
 #ifdef BFD64
   mips*-*-irix6*)
-    targ_defvec=bfd_elf32_bigmips_vec
-    targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
+    targ_defvec=bfd_elf32_nbigmips_vec
+    targ_selvecs="bfd_elf32_nlittlemips_vec bfd_elf32_bigmips_vec bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
     ;;
 #endif
   mips*-*-irix5*)



More information about the Binutils mailing list