summaryrefslogtreecommitdiffstats
path: root/gdb/hppah-nat.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-09-01 20:37:15 +0000
committerK. Richard Pixley <rich@cygnus>1993-09-01 20:37:15 +0000
commitade40d3153e344521d48bddf744bc2b8a1792d06 (patch)
tree318ffdf6c80d39146d86792845cb02d36260e9d9 /gdb/hppah-nat.c
parente96d50d03cdcd0629a93898ab7a740e98cdc7f86 (diff)
downloadppe42-binutils-ade40d3153e344521d48bddf744bc2b8a1792d06.tar.gz
ppe42-binutils-ade40d3153e344521d48bddf744bc2b8a1792d06.zip
bcopy -> memcpy
Diffstat (limited to 'gdb/hppah-nat.c')
-rw-r--r--gdb/hppah-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppah-nat.c b/gdb/hppah-nat.c
index f771696b27..7c0459368d 100644
--- a/gdb/hppah-nat.c
+++ b/gdb/hppah-nat.c
@@ -271,7 +271,7 @@ child_xfer_memory (memaddr, myaddr, len, write, target)
/* Copy data to be written over corresponding part of buffer */
- bcopy (myaddr, (char *) buffer + (memaddr & (sizeof (int) - 1)), len);
+ memcpy ((char *) buffer + (memaddr & (sizeof (int) - 1)), myaddr, len);
/* Write the entire buffer. */
@@ -303,7 +303,7 @@ child_xfer_memory (memaddr, myaddr, len, write, target)
}
/* Copy appropriate bytes out of the buffer. */
- bcopy ((char *) buffer + (memaddr & (sizeof (int) - 1)), myaddr, len);
+ memcpy (myaddr, (char *) buffer + (memaddr & (sizeof (int) - 1)), len);
}
return len;
}
OpenPOWER on IntegriCloud