Remove ATTRIBUTE_UNUSED. Update (C).

This commit is contained in:
Andrew Cagney 2002-01-19 03:32:43 +00:00
parent 636a6dfc8d
commit 0a65a603d3
20 changed files with 128 additions and 105 deletions

View File

@ -1,3 +1,13 @@
2002-01-18 Andrew Cagney <ac131313@redhat.com>
* infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
* monitor.c, remote-array.c, remote-bug.c: Ditto.
* remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
* remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
* remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
* remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
* x86-64-linux-nat.c: Ditto.
2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
* alpha-tdep.c (alpha_register_name): New function.

View File

@ -1,6 +1,6 @@
/* Low level Unix child interface to ptrace, for GDB when running under Unix.
Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
1999, 2000, 2001
Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
This file is part of GDB.
@ -502,8 +502,7 @@ store_inferior_registers (int regno)
int
child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target)
struct mem_attrib *attrib, struct target_ops *target)
{
int i;
/* Round starting address down to longword boundary. */

View File

@ -1,6 +1,8 @@
/* Remote debugging interface for boot monitors, for GDB.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001 Free Software Foundation, Inc.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Cygnus Support. Written by Rob Savoye for Cygnus.
Resurrected from the ashes by Stu Grossman.
@ -2019,8 +2021,7 @@ monitor_read_memory (CORE_ADDR memaddr, char *myaddr, int len)
static int
monitor_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
struct mem_attrib *attrib, struct target_ops *target)
{
int res;

View File

@ -1,6 +1,8 @@
/* Remote debugging interface for Array Tech RAID controller..
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001 Free Software Foundation, Inc.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Cygnus Support. Written by Rob Savoye for Cygnus.
This module talks to a debug monitor called 'MONITOR', which
@ -23,8 +25,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
Boston, MA 02111-1307, USA. */
#include "defs.h"
#include "gdbcore.h"
@ -994,8 +995,7 @@ array_read_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len)
static int
array_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
struct mem_attrib *attrib, struct target_ops *target)
{
if (write)
return array_write_inferior_memory (memaddr, myaddr, len);

View File

@ -1,8 +1,9 @@
/* Remote debugging interface for Motorola's MVME187BUG monitor, an embedded
monitor for the m88k.
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002 Free Software Foundation, Inc.
Contributed by Cygnus Support. Written by K. Richard Pixley.
This file is part of GDB.
@ -552,8 +553,7 @@ bug_store_register (int regno)
int
bug_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
struct mem_attrib *attrib, struct target_ops *target)
{
int res;

View File

@ -1,6 +1,8 @@
/* Remote debugging interface for Hitachi E7000 ICE, for GDB
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
2002 Free Software Foundation, Inc.
Contributed by Cygnus Support.
Written by Steve Chamberlain for Cygnus Support.
@ -1463,10 +1465,9 @@ fast_but_for_the_pause_e7000_read_inferior_memory (CORE_ADDR memaddr,
Returns the number of bytes transferred. */
static int
e7000_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr,
int len, int write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
e7000_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
int write, struct mem_attrib *attrib,
struct target_ops *target)
{
if (write)
return e7000_write_inferior_memory (memaddr, myaddr, len);

View File

@ -1,6 +1,7 @@
/* Memory-access and commands for remote es1800 processes, for GDB.
Copyright 1988, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Copyright 1988, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000,
2001, 2002 Free Software Foundation, Inc.
This file is added to GDB to make it possible to do debugging via an
ES-1800 emulator. The code was originally written by Johan Holmberg
@ -962,9 +963,8 @@ tohex (int nib)
static int
es1800_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
int write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
int write, struct mem_attrib *attrib,
struct target_ops *target)
{
int origlen = len;
int xfersize;

View File

@ -1,6 +1,8 @@
/* Remote debugging interface for MIPS remote debugging protocol.
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
2002 Free Software Foundation, Inc.
Contributed by Cygnus Support. Written by Ian Lance Taylor
<ian@cygnus.com>.
@ -2066,8 +2068,7 @@ static int mask_address_p = 1;
static int
mips_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
struct mem_attrib *attrib, struct target_ops *target)
{
int i;
CORE_ADDR addr;

View File

@ -1,6 +1,8 @@
/* Memory-access and commands for remote NINDY process, for GDB.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000,
2001 Free Software Foundation, Inc.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999,
2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Intel Corporation. Modified from remote.c by Chris Benenati.
GDB is distributed in the hope that it will be useful, but WITHOUT ANY
@ -17,8 +19,7 @@
notice and this notice must be preserved on all copies.
In other words, go ahead and share GDB, but don't try to stop
anyone else from sharing it farther. Help stamp out software hoarding!
*/
anyone else from sharing it farther. Help stamp out software hoarding! */
/*
Except for the data cache routines, this file bears little resemblence
@ -477,9 +478,8 @@ nindy_store_registers (int regno)
int
nindy_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
int should_write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
int should_write, struct mem_attrib *attrib,
struct target_ops *target)
{
int res;

View File

@ -1,6 +1,7 @@
/* Remote debugging interface for boot monitors, for GDB.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000,
2001 Free Software Foundation, Inc.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999,
2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GDB.
@ -826,9 +827,8 @@ rombug_read_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len)
static int
rombug_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
int write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
int write, struct mem_attrib *attrib,
struct target_ops *target)
{
if (write)
return rombug_write_inferior_memory (memaddr, myaddr, len);

View File

@ -1,5 +1,7 @@
/* GDB interface to ARM RDI library.
Copyright 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
Copyright 1997, 1998, 1999, 2000, 2001, 2002 Free Software
Foundation, Inc.
This file is part of GDB.
@ -629,9 +631,9 @@ arm_rdi_store_registers (int regno)
/* ARGSUSED */
static int
arm_rdi_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int should_write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
arm_rdi_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
int should_write, struct mem_attrib *attrib,
struct target_ops *target)
{
int rslt, i;

View File

@ -1,6 +1,7 @@
/* Remote debugging for the ARM RDP interface.
Copyright 1994, 1995, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Copyright 1994, 1995, 1998, 1999, 2000, 2001, 2002 Free Software
Foundation, Inc.
This file is part of GDB.
@ -1246,9 +1247,8 @@ remote_rdp_prepare_to_store (void)
static int
remote_rdp_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
int write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
int write, struct mem_attrib *attrib,
struct target_ops *target)
{
/* I infer from D Taylor's code that there's a limit on the amount
we can transfer in one chunk.. */

View File

@ -1,5 +1,7 @@
/* Remote target communications for serial-line targets using SDS' protocol.
Copyright 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
Copyright 1997, 1998, 1999, 2000, 2001, 2002 Free Software
Foundation, Inc.
This file is part of GDB.
@ -658,8 +660,7 @@ sds_read_bytes (CORE_ADDR memaddr, char *myaddr, int len)
/* ARGSUSED */
static int
sds_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int should_write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
struct mem_attrib *attrib, struct target_ops *target)
{
int res;

View File

@ -1,6 +1,8 @@
/* Generic remote debugging interface for simulators.
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
2002 Free Software Foundation, Inc.
Contributed by Cygnus Support.
Steve Chamberlain (sac@cygnus.com).
@ -719,9 +721,8 @@ gdbsim_prepare_to_store (void)
static int
gdbsim_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
int write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
int write, struct mem_attrib *attrib,
struct target_ops *target)
{
if (!program_loaded)
error ("No program loaded.");

View File

@ -1,6 +1,8 @@
/* Remote debugging interface for Tandem ST2000 phone switch, for GDB.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000,
2001, 2002 Free Software Foundation, Inc.
Contributed by Cygnus Support. Written by Jim Kingdon for Cygnus.
This file is part of GDB.
@ -560,9 +562,8 @@ st2000_read_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len)
static int
st2000_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
int write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
int write, struct mem_attrib *attrib,
struct target_ops *target)
{
if (write)
return st2000_write_inferior_memory (memaddr, myaddr, len);

View File

@ -1,6 +1,8 @@
/* Memory-access and commands for remote VxWorks processes, for GDB.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1997, 1998, 1999, 2000,
2001 Free Software Foundation, Inc.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1997, 1998, 1999,
2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Wind River Systems and Cygnus Support.
This file is part of GDB.
@ -477,8 +479,7 @@ vx_prepare_to_store (void)
static int
vx_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
struct mem_attrib *attrib, struct target_ops *target)
{
int status;
Rptrace ptrace_in;

View File

@ -3939,8 +3939,7 @@ remote_read_bytes (CORE_ADDR memaddr, char *myaddr, int len)
/* ARGSUSED */
static int
remote_xfer_memory (CORE_ADDR mem_addr, char *buffer, int mem_len,
int should_write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
int should_write, struct mem_attrib *attrib,
struct target_ops *target)
{
CORE_ADDR targ_addr;

View File

@ -1,6 +1,8 @@
/* Target-vector operations for controlling win32 child processes, for GDB.
Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free
Software Foundation, Inc.
Contributed by Cygnus Solutions, A Red Hat Company.
This file is part of GDB.
@ -571,7 +573,7 @@ register_loaded_dll (const char *name, DWORD load_addr)
/* Wait for child to do something. Return pid of child, or -1 in case
of error; store status through argument pointer OURSTATUS. */
static int
handle_load_dll (void *dummy ATTRIBUTE_UNUSED)
handle_load_dll (void *dummy)
{
LOAD_DLL_DEBUG_INFO *event = &current_event.u.LoadDll;
DWORD dll_name_ptr;
@ -652,7 +654,7 @@ handle_load_dll (void *dummy ATTRIBUTE_UNUSED)
}
static int
handle_unload_dll (void *dummy ATTRIBUTE_UNUSED)
handle_unload_dll (void *dummy)
{
DWORD lpBaseOfDll = (DWORD) current_event.u.UnloadDll.lpBaseOfDll + 0x1000;
struct so_stuff *so;
@ -676,7 +678,7 @@ handle_unload_dll (void *dummy ATTRIBUTE_UNUSED)
/* Return name of last loaded DLL. */
char *
child_solib_loaded_library_pathname (int pid ATTRIBUTE_UNUSED)
child_solib_loaded_library_pathname (int pid)
{
return !solib_end || !solib_end->name[0] ? NULL : solib_end->name;
}
@ -742,7 +744,7 @@ dll_symbol_command (char *args, int from_tty)
/* List currently loaded DLLs. */
void
info_dll_command (char *ignore ATTRIBUTE_UNUSED, int from_tty ATTRIBUTE_UNUSED)
info_dll_command (char *ignore, int from_tty)
{
struct so_stuff *so = &solib_start;
@ -888,7 +890,7 @@ child_continue (DWORD continue_status, int id)
handling by WFI (or whatever).
*/
static int
get_child_debug_event (int pid ATTRIBUTE_UNUSED, struct target_waitstatus *ourstatus)
get_child_debug_event (int pid, struct target_waitstatus *ourstatus)
{
BOOL debug_event;
DWORD continue_status, event_code;
@ -1158,7 +1160,7 @@ child_attach (char *args, int from_tty)
}
static void
child_detach (char *args ATTRIBUTE_UNUSED, int from_tty)
child_detach (char *args, int from_tty)
{
int detached = 1;
@ -1190,7 +1192,7 @@ child_detach (char *args ATTRIBUTE_UNUSED, int from_tty)
/* Print status information about what we're accessing. */
static void
child_files_info (struct target_ops *ignore ATTRIBUTE_UNUSED)
child_files_info (struct target_ops *ignore)
{
printf_unfiltered ("\tUsing the running image of %s %s.\n",
attach_flag ? "attached" : "child", target_pid_to_str (inferior_ptid));
@ -1198,7 +1200,7 @@ child_files_info (struct target_ops *ignore ATTRIBUTE_UNUSED)
/* ARGSUSED */
static void
child_open (char *arg ATTRIBUTE_UNUSED, int from_tty ATTRIBUTE_UNUSED)
child_open (char *arg, int from_tty)
{
error ("Use the \"run\" command to start a Unix child process.");
}
@ -1360,8 +1362,8 @@ child_stop (void)
int
child_xfer_memory (CORE_ADDR memaddr, char *our, int len,
int write, struct mem_attrib *mem ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
int write, struct mem_attrib *mem,
struct target_ops *target)
{
DWORD done;
if (write)
@ -1454,7 +1456,7 @@ child_can_run (void)
}
static void
child_close (int x ATTRIBUTE_UNUSED)
child_close (int x)
{
DEBUG_EVENTS (("gdb: child_close, inferior_ptid=%d\n",
PIDGET (inferior_ptid)));
@ -1758,7 +1760,8 @@ out:
}
void
child_solib_add (char *filename ATTRIBUTE_UNUSED, int from_tty, struct target_ops *target, int readsyms)
child_solib_add (char *filename, int from_tty, struct target_ops *target,
int readsyms)
{
if (!readsyms)
return;

View File

@ -1,6 +1,8 @@
/* Target-vector operations for controlling win32 child processes, for GDB.
Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free
Software Foundation, Inc.
Contributed by Cygnus Solutions, A Red Hat Company.
This file is part of GDB.
@ -571,7 +573,7 @@ register_loaded_dll (const char *name, DWORD load_addr)
/* Wait for child to do something. Return pid of child, or -1 in case
of error; store status through argument pointer OURSTATUS. */
static int
handle_load_dll (void *dummy ATTRIBUTE_UNUSED)
handle_load_dll (void *dummy)
{
LOAD_DLL_DEBUG_INFO *event = &current_event.u.LoadDll;
DWORD dll_name_ptr;
@ -652,7 +654,7 @@ handle_load_dll (void *dummy ATTRIBUTE_UNUSED)
}
static int
handle_unload_dll (void *dummy ATTRIBUTE_UNUSED)
handle_unload_dll (void *dummy)
{
DWORD lpBaseOfDll = (DWORD) current_event.u.UnloadDll.lpBaseOfDll + 0x1000;
struct so_stuff *so;
@ -676,7 +678,7 @@ handle_unload_dll (void *dummy ATTRIBUTE_UNUSED)
/* Return name of last loaded DLL. */
char *
child_solib_loaded_library_pathname (int pid ATTRIBUTE_UNUSED)
child_solib_loaded_library_pathname (int pid)
{
return !solib_end || !solib_end->name[0] ? NULL : solib_end->name;
}
@ -742,7 +744,7 @@ dll_symbol_command (char *args, int from_tty)
/* List currently loaded DLLs. */
void
info_dll_command (char *ignore ATTRIBUTE_UNUSED, int from_tty ATTRIBUTE_UNUSED)
info_dll_command (char *ignore, int from_tty)
{
struct so_stuff *so = &solib_start;
@ -888,7 +890,7 @@ child_continue (DWORD continue_status, int id)
handling by WFI (or whatever).
*/
static int
get_child_debug_event (int pid ATTRIBUTE_UNUSED, struct target_waitstatus *ourstatus)
get_child_debug_event (int pid, struct target_waitstatus *ourstatus)
{
BOOL debug_event;
DWORD continue_status, event_code;
@ -1158,7 +1160,7 @@ child_attach (char *args, int from_tty)
}
static void
child_detach (char *args ATTRIBUTE_UNUSED, int from_tty)
child_detach (char *args, int from_tty)
{
int detached = 1;
@ -1190,7 +1192,7 @@ child_detach (char *args ATTRIBUTE_UNUSED, int from_tty)
/* Print status information about what we're accessing. */
static void
child_files_info (struct target_ops *ignore ATTRIBUTE_UNUSED)
child_files_info (struct target_ops *ignore)
{
printf_unfiltered ("\tUsing the running image of %s %s.\n",
attach_flag ? "attached" : "child", target_pid_to_str (inferior_ptid));
@ -1198,7 +1200,7 @@ child_files_info (struct target_ops *ignore ATTRIBUTE_UNUSED)
/* ARGSUSED */
static void
child_open (char *arg ATTRIBUTE_UNUSED, int from_tty ATTRIBUTE_UNUSED)
child_open (char *arg, int from_tty)
{
error ("Use the \"run\" command to start a Unix child process.");
}
@ -1360,8 +1362,8 @@ child_stop (void)
int
child_xfer_memory (CORE_ADDR memaddr, char *our, int len,
int write, struct mem_attrib *mem ATTRIBUTE_UNUSED,
struct target_ops *target ATTRIBUTE_UNUSED)
int write, struct mem_attrib *mem,
struct target_ops *target)
{
DWORD done;
if (write)
@ -1454,7 +1456,7 @@ child_can_run (void)
}
static void
child_close (int x ATTRIBUTE_UNUSED)
child_close (int x)
{
DEBUG_EVENTS (("gdb: child_close, inferior_ptid=%d\n",
PIDGET (inferior_ptid)));
@ -1758,7 +1760,8 @@ out:
}
void
child_solib_add (char *filename ATTRIBUTE_UNUSED, int from_tty, struct target_ops *target, int readsyms)
child_solib_add (char *filename, int from_tty, struct target_ops *target,
int readsyms)
{
if (!readsyms)
return;

View File

@ -1,6 +1,7 @@
/* Native-dependent code for Linux/x86-64.
Copyright 2001
Free Software Foundation, Inc.
Copyright 2001, 2002 Free Software Foundation, Inc.
Contributed by Jiri Smid, SuSE Labs.
This file is part of GDB.
@ -405,8 +406,7 @@ child_resume (ptid_t ptid, int step, enum target_signal signal)
int
child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
struct mem_attrib *attrib ATTRIBUTE_UNUSED,
struct target_ops *target)
struct mem_attrib *attrib, struct target_ops *target)
{
register int i;
/* Round starting address down to longword boundary. */