From f4f0d174871fc68497aebc705f78bbd09fe3e498 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Sun, 26 Dec 1993 18:10:22 +0000 Subject: * 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. --- gdb/config/h8300/tm-h8300.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gdb/config/h8300') diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h index e3de3d5..a0f60c4 100644 --- a/gdb/config/h8300/tm-h8300.h +++ b/gdb/config/h8300/tm-h8300.h @@ -93,9 +93,11 @@ extern CORE_ADDR h8300_skip_prologue (); #define INVALID_FLOAT(p, len) 0 /* Just a first guess; not checked */ -/* Say how long registers are. */ +/* Say how long (ordinary) registers are. This is a piece of bogosity + used in push_word and a few other places; REGISTER_RAW_SIZE is the + real way to know how big a register is. */ -#define REGISTER_TYPE unsigned short +#define REGISTER_SIZE 2 #define NUM_REGS 13 -- cgit v1.1