aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386m3-nat.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/i386m3-nat.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/i386m3-nat.c')
-rw-r--r--gdb/i386m3-nat.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/i386m3-nat.c b/gdb/i386m3-nat.c
index c150755..df42662 100644
--- a/gdb/i386m3-nat.c
+++ b/gdb/i386m3-nat.c
@@ -85,15 +85,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 (REG_ADDRESS (state, regnum), \
- &registers[REGISTER_BYTE (regnum)], \
- count*sizeof (REGISTER_TYPE))
+ memcpy (&registers[REGISTER_BYTE (regnum)], \
+ REG_ADDRESS (state, 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)], \
- REG_ADDRESS (state, regnum), \
- count*sizeof (REGISTER_TYPE))
+ memcpy (REG_ADDRESS (state, regnum), \
+ &registers[REGISTER_BYTE (regnum)], \
+ count*sizeof (REGISTER_TYPE))
/*
* Fetch inferiors registers for gdb.
@@ -380,7 +380,7 @@ get_i387_state (fstate)
fstate->status = fsp->exc_status;
- bcopy ((char *)&fsp->hw_state, fstate->state, FP_STATE_BYTES);
+ memcpy (fstate->state, (char *)&fsp->hw_state, FP_STATE_BYTES);
return TRUE;
}