[Crash-utility] gdb patch for Alpha

Troy Heber troy.heber at hp.com
Fri Dec 23 16:18:14 UTC 2005


The gdb-6.1.tar.gz needs to be patched in order to fix an "invalid
lvalue in assignment" bug on newer compilers on Alpha that prevents
crash from building. 

This patch is the one in upstream gdb that resolves the issue: 

retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- src/bfd/coff-alpha.c	2004/04/30 14:23:39	1.20
+++ src/bfd/coff-alpha.c	2004/06/11 14:19:32	1.21
@@ -1455,7 +1455,7 @@
 	  amt = sizeof (struct ecoff_section_tdata);
 	  lita_sec_data = ((struct ecoff_section_tdata *)
 			   bfd_zalloc (input_bfd, amt));
-	  ecoff_section_data (input_bfd, lita_sec) = lita_sec_data;
+	  lita_sec->used_by_bfd = lita_sec_data;
 	}
 
       if (lita_sec_data->gp != 0)

Thanks, 

Troy




More information about the Crash-utility mailing list