mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 01:50:48 +00:00
* 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.
This commit is contained in:
@@ -58,15 +58,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))
|
||||
|
||||
/* 4.4 bfd support function */
|
||||
/* jtv@hut.fi: UNIMPLEMENTED!!!!! */
|
||||
|
||||
Reference in New Issue
Block a user