This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


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

[patch] param fixes


FYI,

I've checked in the attached.  It fixes more K&R -> ISO-C fallout.

	Andrew
2000-08-18  Andrew Cagney  <cagney@ops1.cygnus.com>

	* remote-array.c (array_fetch_register): Pass dummy parameter to
	array_fetch_registers.
	(array_store_register): Ditto.

Index: gdb/remote-array.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-array.c,v
retrieving revision 1.4
diff -p -r1.4 remote-array.c
*** remote-array.c	2000/07/30 01:48:26	1.4
--- remote-array.c	2000/08/18 19:09:48
*************** array_fetch_registers (int ignored)
*** 832,838 ****
  static void
  array_fetch_register (int ignored)
  {
!   array_fetch_registers ();
  }
  
  /*
--- 832,838 ----
  static void
  array_fetch_register (int ignored)
  {
!   array_fetch_registers (0 /* ignored */);
  }
  
  /*
*************** array_store_registers (int ignored)
*** 880,886 ****
  static void
  array_store_register (int ignored)
  {
!   array_store_registers ();
  }
  
  /* Get ready to modify the registers array.  On machines which store
--- 880,886 ----
  static void
  array_store_register (int ignored)
  {
!   array_store_registers (0 /* ignored */);
  }
  
  /* Get ready to modify the registers array.  On machines which store

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