diff options
Diffstat (limited to 'gdb/config/sh/tm-sh.h')
-rw-r--r-- | gdb/config/sh/tm-sh.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h index 21d7a4a..b5987e1 100644 --- a/gdb/config/sh/tm-sh.h +++ b/gdb/config/sh/tm-sh.h @@ -72,8 +72,11 @@ extern CORE_ADDR sh_skip_prologue (); #define INVALID_FLOAT(p, len) 0 /* Just a first guess; not checked */ -/* Say how long registers are. */ -#define REGISTER_TYPE long +/* 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_SIZE 4 /* Say how much memory is needed to store a copy of the register set */ #define REGISTER_BYTES (NUM_REGS*4) |