aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m88k/tm-m88k.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/m88k/tm-m88k.h')
-rw-r--r--gdb/config/m88k/tm-m88k.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/config/m88k/tm-m88k.h b/gdb/config/m88k/tm-m88k.h
index 77b902b..9b50dcf 100644
--- a/gdb/config/m88k/tm-m88k.h
+++ b/gdb/config/m88k/tm-m88k.h
@@ -102,9 +102,11 @@ extern CORE_ADDR skip_prologue ();
#define INVALID_FLOAT(p,len) 0
-/* Say how long (ordinary) 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
/* Number of machine registers */