diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-25 21:15:53 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-25 21:15:53 +0000 |
commit | a6e0dae9c3decfe89c70f020c048bc132bfa54a2 (patch) | |
tree | bd8dbf95da1b1d46a60b020b72ac4fe72b418b2c /gdb/gdbserver/low-lynx.c | |
parent | 59168c8b053591d680fdef52b1178ce9bd54f45e (diff) | |
download | fsf-binutils-gdb-a6e0dae9c3decfe89c70f020c048bc132bfa54a2.zip fsf-binutils-gdb-a6e0dae9c3decfe89c70f020c048bc132bfa54a2.tar.gz fsf-binutils-gdb-a6e0dae9c3decfe89c70f020c048bc132bfa54a2.tar.bz2 |
* gdbserver/{low-lynx.c,low-sparc.c,low-sun3.c}, standalone.c,
m3-nat.c, i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c: bcopy -> memcpy.
Diffstat (limited to 'gdb/gdbserver/low-lynx.c')
-rw-r--r-- | gdb/gdbserver/low-lynx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/low-lynx.c b/gdb/gdbserver/low-lynx.c index 44070c5..ae4955c 100644 --- a/gdb/gdbserver/low-lynx.c +++ b/gdb/gdbserver/low-lynx.c @@ -283,7 +283,7 @@ read_inferior_memory (memaddr, myaddr, len) } /* 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); } /* Copy LEN bytes of data from debugger memory at MYADDR @@ -320,7 +320,7 @@ write_inferior_memory (memaddr, myaddr, len) /* 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. */ |