aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k/tm-m68k.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/m68k/tm-m68k.h')
-rw-r--r--gdb/config/m68k/tm-m68k.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/config/m68k/tm-m68k.h b/gdb/config/m68k/tm-m68k.h
index 14b71cf..c7f64e0 100644
--- a/gdb/config/m68k/tm-m68k.h
+++ b/gdb/config/m68k/tm-m68k.h
@@ -95,9 +95,11 @@ extern CORE_ADDR m68k_saved_pc_after_call PARAMS ((struct frame_info *));
#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 long
+#define REGISTER_SIZE 4
#define REGISTER_BYTES_FP (16*4 + 8 + 8*12 + 3*4)
#define REGISTER_BYTES_NOFP (16*4 + 8)