[Crash-utility] gdb patch for Alpha

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux