aboutsummaryrefslogtreecommitdiff
path: root/gdb/standalone.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-25 21:15:53 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-25 21:15:53 +0000
commita6e0dae9c3decfe89c70f020c048bc132bfa54a2 (patch)
treebd8dbf95da1b1d46a60b020b72ac4fe72b418b2c /gdb/standalone.c
parent59168c8b053591d680fdef52b1178ce9bd54f45e (diff)
downloadgdb-a6e0dae9c3decfe89c70f020c048bc132bfa54a2.zip
gdb-a6e0dae9c3decfe89c70f020c048bc132bfa54a2.tar.gz
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/standalone.c')
-rw-r--r--gdb/standalone.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/standalone.c b/gdb/standalone.c
index 687b318..fa9b26f 100644
--- a/gdb/standalone.c
+++ b/gdb/standalone.c
@@ -213,7 +213,7 @@ myread (desc, destptr, size, filename)
return -1;
}
- bcopy (sourceptr, destptr, len);
+ memcpy (destptr, sourceptr, len);
sourceleft -= len;
return len;
}
@@ -230,7 +230,7 @@ fread (bufp, numelts, eltsize, stream)
return -1;
}
- bcopy (sourceptr, bufp, len);
+ memcpy (bufp, sourceptr, len);
sourceleft -= len;
return elts;
}
@@ -370,7 +370,7 @@ read_memory (memaddr, myaddr, len)
char *myaddr;
int len;
{
- bcopy (memaddr, myaddr, len);
+ memcpy (myaddr, memaddr, len);
}
/* Always return 0 indicating success. */
@@ -380,7 +380,7 @@ write_memory (memaddr, myaddr, len)
char *myaddr;
int len;
{
- bcopy (myaddr, memaddr, len);
+ memcpy (memaddr, myaddr, len);
return 0;
}
@@ -487,7 +487,7 @@ resume ()
PUSH_FRAME_PTR;
save_frame_pointer ();
- bcopy (saved_regs, restore, sizeof restore);
+ memcpy (restore, saved_regs, sizeof restore);
POP_REGISTERS;
/* Control does not drop through here! */
}
@@ -533,7 +533,7 @@ restore_gdb ()
save_registers (firstreg)
int firstreg;
{
- bcopy (&firstreg, saved_regs, sizeof saved_regs);
+ memcpy (saved_regs, &firstreg, sizeof saved_regs);
fault_code = (&firstreg)[NUM_REGS];
}