diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-12-26 18:10:22 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-12-26 18:10:22 +0000 |
commit | f4f0d174871fc68497aebc705f78bbd09fe3e498 (patch) | |
tree | e9eed18f76859d5a4f0e2d4f3aa7293cc5972272 /gdb/mipsm3-nat.c | |
parent | * hppa-tdep.c (init_extra_frame_info): Correctly adjust the base (diff) | |
download | binutils-gdb-f4f0d174871fc68497aebc705f78bbd09fe3e498.tar.gz binutils-gdb-f4f0d174871fc68497aebc705f78bbd09fe3e498.tar.bz2 binutils-gdb-f4f0d174871fc68497aebc705f78bbd09fe3e498.zip |
* valops.c (call_function_by_hand, push_word), defs.h (push_word),
convex-xdep.c, m88k-nat.c, i386m3-nat.c, mips-tdep.c, mipsm3-nat.c,
ns32km3-nat.c, remote-bug.c, m88k-tdep.c, remote-hms.c, remote-mips.c,
config/gould/tm-np1.h, hppa-tdep.c (hppa_fix_call_dummy), remote-vx.c:
Use REGISTER_SIZE, unsigned LONGEST, and
{store,extract}_unsigned_integer, instead of sizeof
(REGISTER_TYPE) and REGISTER_TYPE.
* All tm.h files: Change REGISTER_TYPE to REGISTER_SIZE.
* hppa-tdep.c (pa_print_fp_reg): Remove unused variable val.
* Makefile.in (ALLDEPFILES): Remove i386ly-nat.c and m68kly-nat.c.
Add lynx-nat.c.
Diffstat (limited to 'gdb/mipsm3-nat.c')
-rw-r--r-- | gdb/mipsm3-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mipsm3-nat.c b/gdb/mipsm3-nat.c index 34434a6de2d..04f8139a813 100644 --- a/gdb/mipsm3-nat.c +++ b/gdb/mipsm3-nat.c @@ -122,13 +122,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) #define REGS_ALL -1 #define REGS_NORMAL 1 |