summaryrefslogtreecommitdiff
path: root/gdb/infttrace.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-09-09 01:38:49 +0000
committerKevin Buettner <kevinb@redhat.com>2000-09-09 01:38:49 +0000
commitbdfc7cb1d6850a534ced990e03253daad5589b2e (patch)
tree5b61cbe70391b67abb30329a90411c3c10481a1b /gdb/infttrace.c
parentafece883a4f86b04dcf70873e6529ad2f0116014 (diff)
downloadgdb-bdfc7cb1d6850a534ced990e03253daad5589b2e.tar.gz
Protoization.
Diffstat (limited to 'gdb/infttrace.c')
-rw-r--r--gdb/infttrace.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/infttrace.c b/gdb/infttrace.c
index 8b2fa62f058..9168ce31137 100644
--- a/gdb/infttrace.c
+++ b/gdb/infttrace.c
@@ -4907,7 +4907,7 @@ _initialize_kernel_u_addr (void)
/* 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
@@ -4915,12 +4915,8 @@ _initialize_kernel_u_addr (void)
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 target_ops *target)
{
register int i;
/* Round starting address down to longword boundary. */