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/mipsm3-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/mipsm3-nat.c')
-rw-r--r-- | gdb/mipsm3-nat.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/mipsm3-nat.c b/gdb/mipsm3-nat.c index fed0573..34434a6 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 ], \ - ®isters[REGISTER_BYTE (regnum)], \ - count*sizeof (REGISTER_TYPE)) + memcpy (®isters[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 (®isters[REGISTER_BYTE (regnum)], \ - (char *)state+reg_offset[ regnum ], \ - count*sizeof (REGISTER_TYPE)) + memcpy ((char *)state+reg_offset[ regnum ], \ + ®isters[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 (®isters[REGISTER_BYTE (FP_REGNUM)], - ®isters[REGISTER_BYTE (MACH_FP_REGNUM)], - REGISTER_RAW_SIZE (FP_REGNUM)); + memcpy (®isters[REGISTER_BYTE (MACH_FP_REGNUM)], + ®isters[REGISTER_BYTE (FP_REGNUM)], + REGISTER_RAW_SIZE (FP_REGNUM)); #endif /* Save gdb's regs 1..31 to thread saved regs 1..31 |