aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/a29k/tm-a29k.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/a29k/tm-a29k.h')
-rw-r--r--gdb/config/a29k/tm-a29k.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/config/a29k/tm-a29k.h b/gdb/config/a29k/tm-a29k.h
index 7d24044..cf5fbca 100644
--- a/gdb/config/a29k/tm-a29k.h
+++ b/gdb/config/a29k/tm-a29k.h
@@ -100,9 +100,11 @@ CORE_ADDR skip_prologue ();
#define INVALID_FLOAT(p, len) 0 /* Just a first guess; not checked */
-/* 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
/* Allow the register declarations here to be overridden for remote
kernel debugging. */