diff options
Diffstat (limited to 'gdb/ns32km3-nat.c')
-rw-r--r-- | gdb/ns32km3-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ns32km3-nat.c b/gdb/ns32km3-nat.c index 4002e45..e652402 100644 --- a/gdb/ns32km3-nat.c +++ b/gdb/ns32km3-nat.c @@ -60,13 +60,13 @@ static int reg_offset[] = #define FETCH_REGS(state, regnum, count) \ memcpy (®isters[REGISTER_BYTE (regnum)], \ (char *)state+reg_offset[ regnum ], \ - count*sizeof (REGISTER_TYPE)) + count*REGISTER_SIZE) /* Store COUNT contiguous registers to thread STATE starting from REGNUM */ #define STORE_REGS(state, regnum, count) \ memcpy ((char *)state+reg_offset[ regnum ], \ ®isters[REGISTER_BYTE (regnum)], \ - count*sizeof (REGISTER_TYPE)) + count*REGISTER_SIZE) /* 4.4 bfd support function */ /* jtv@hut.fi: UNIMPLEMENTED!!!!! */ |