aboutsummaryrefslogtreecommitdiff
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
commit7318608963cb576278b3cd025aa60ee2671e2861 (patch)
tree18ad028fc60b01da2b81ca4192cca230e87668c4 /gdb/infttrace.c
parentfe077fa6459a3c2e4d775407af70cc3e24a8fb31 (diff)
downloadgdb-7318608963cb576278b3cd025aa60ee2671e2861.zip
gdb-7318608963cb576278b3cd025aa60ee2671e2861.tar.gz
gdb-7318608963cb576278b3cd025aa60ee2671e2861.tar.bz2
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 8b2fa62..9168ce3 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. */