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/i386m3-nat.c | |
parent | 59168c8b053591d680fdef52b1178ce9bd54f45e (diff) | |
download | gdb-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.c | 14 |
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), \ - ®isters[REGISTER_BYTE (regnum)], \ - count*sizeof (REGISTER_TYPE)) + memcpy (®isters[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 (®isters[REGISTER_BYTE (regnum)], \ - REG_ADDRESS (state, regnum), \ - count*sizeof (REGISTER_TYPE)) + memcpy (REG_ADDRESS (state, regnum), \ + ®isters[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; } |