This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] param fixes
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [patch] param fixes
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 18 Aug 2000 14:51:06 -0700
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