Error :/cvs/src/src/gdb/remote-array.c

Marcio de Oliveira Buss ra990898@ic.unicamp.br
Mon Aug 14 17:51:00 GMT 2000


	Dear,

	I don't know if this is the right place to report
 this kind of news, but I was trying to build gdb and I
 think there is a mistake in the file remote-array.c

 :/cvs/src/src/gdb/remote-array.c  line 835

 static void
 array_fetch_register (int ignored)
 {
   array_fetch_registers ();  ****
 }


	I think the call to this function should be:


 static void
 array_fetch_register (int ignored)
 {
   array_fetch_registers (ignored); ****
 }

	The same with the call to the function array_store_registers,
 in the same file but in line 883.



 static void
 array_store_register (int ignored)
 {
   array_store_registers ();   ****
 }



 static void
 array_store_register (int ignored)
 {
   array_store_registers (ignored);   ****
 }



 because the functions array_fetch_registers and array_store_register
 require a parameter. 
	I did this change and the things worked fine. (I think :)


	Best regards,


	M. Buss.



More information about the Gcc-patches mailing list