aboutsummaryrefslogtreecommitdiff
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/mipsm3-nat.c
parentChanged the DOC parameter type to gdb_define_app_command. (diff)
downloadbinutils-gdb-a6e0dae9c3decfe89c70f020c048bc132bfa54a2.tar.gz
binutils-gdb-a6e0dae9c3decfe89c70f020c048bc132bfa54a2.tar.bz2
binutils-gdb-a6e0dae9c3decfe89c70f020c048bc132bfa54a2.zip
* 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/mipsm3-nat.c')
-rw-r--r--gdb/mipsm3-nat.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/mipsm3-nat.c b/gdb/mipsm3-nat.c
index fed0573d8e6..34434a6de2d 100644
--- a/gdb/mipsm3-nat.c
+++ b/gdb/mipsm3-nat.c
@@ -120,15 +120,15 @@ static int reg_offset[] =
* Caller knows that the regs handled in one transaction are of same size.
*/
#define FETCH_REGS(state, regnum, count) \
- bcopy ((char *)state+reg_offset[ regnum ], \
- &registers[REGISTER_BYTE (regnum)], \
- count*sizeof (REGISTER_TYPE))
+ memcpy (&registers[REGISTER_BYTE (regnum)], \
+ (char *)state+reg_offset[ regnum ], \
+ count*sizeof (REGISTER_TYPE))
/* Store COUNT contiguous registers to thread STATE starting from REGNUM */
#define STORE_REGS(state, regnum, count) \
- bcopy (&registers[REGISTER_BYTE (regnum)], \
- (char *)state+reg_offset[ regnum ], \
- count*sizeof (REGISTER_TYPE))
+ memcpy ((char *)state+reg_offset[ regnum ], \
+ &registers[REGISTER_BYTE (regnum)], \
+ count*sizeof (REGISTER_TYPE))
#define REGS_ALL -1
#define REGS_NORMAL 1
@@ -342,9 +342,9 @@ store_inferior_registers (regno)
* should go to threads frame pointer. If not true, this
* fails badly!!!!!
*/
- bcopy (&registers[REGISTER_BYTE (FP_REGNUM)],
- &registers[REGISTER_BYTE (MACH_FP_REGNUM)],
- REGISTER_RAW_SIZE (FP_REGNUM));
+ memcpy (&registers[REGISTER_BYTE (MACH_FP_REGNUM)],
+ &registers[REGISTER_BYTE (FP_REGNUM)],
+ REGISTER_RAW_SIZE (FP_REGNUM));
#endif
/* Save gdb's regs 1..31 to thread saved regs 1..31