diff options
Diffstat (limited to 'gdb/ns32km3-nat.c')
-rw-r--r-- | gdb/ns32km3-nat.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/ns32km3-nat.c b/gdb/ns32km3-nat.c index 087bb72..4002e45 100644 --- a/gdb/ns32km3-nat.c +++ b/gdb/ns32km3-nat.c @@ -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!!!!! */ |