* exec.c (xfer_memory): Add attrib argument.
[deliverable/binutils-gdb.git] / gdb / infptrace.c
index b189f5077887f0270c8d2db85316ee27f1517b68..f7a1a3a7e68983da0661d9b2ee378f824ecd9ee2 100644 (file)
@@ -1,5 +1,5 @@
 /* Low level Unix child interface to ptrace, for GDB when running under Unix.
-   Copyright 1988, 89, 90, 91, 92, 93, 94, 95, 96, 1998 
+   Copyright 1988, 89, 90, 91, 92, 93, 94, 95, 96, 1998, 2001 
    Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -502,7 +502,7 @@ store_inferior_registers (int regno)
 
 /* Copy LEN bytes to or from inferior's memory starting at MEMADDR
    to debugger memory starting at MYADDR.   Copy to inferior if
-   WRITE is nonzero.
+   WRITE is nonzero.  TARGET is ignored.
 
    Returns the length copied, which is either the LEN argument or zero.
    This xfer function does not do partial moves, since child_ops
@@ -510,12 +510,9 @@ store_inferior_registers (int regno)
    anyway.  */
 
 int
-child_xfer_memory (memaddr, myaddr, len, write, target)
-     CORE_ADDR memaddr;
-     char *myaddr;
-     int len;
-     int write;
-     struct target_ops *target;        /* ignored */
+child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+                  struct mem_attrib *attrib ATTRIBUTE_UNUSED,
+                  struct target_ops *target)
 {
   register int i;
   /* Round starting address down to longword boundary.  */
This page took 0.023861 seconds and 4 git commands to generate.