aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386/tm-sun386.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/i386/tm-sun386.h')
-rw-r--r--gdb/config/i386/tm-sun386.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/config/i386/tm-sun386.h b/gdb/config/i386/tm-sun386.h
index 9c1f6a8..29a1201 100644
--- a/gdb/config/i386/tm-sun386.h
+++ b/gdb/config/i386/tm-sun386.h
@@ -92,9 +92,11 @@ i386_skip_prologue PARAMS ((int));
/* Name of the builtin type for the LONGEST type above. */
#define BUILTIN_TYPE_LONGEST builtin_type_long
-/* 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 */