aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/alpha-tdep.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1cf53e1..ddd93ee 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-11 Mark Kettenis <kettenis@gnu.org>
+
+ * alpha-tdep.h (ALPHA_INSN_SIZE): New define.
+
2006-07-10 Mark Kettenis <kettenis@gnu.org>
* alphaobsd-tdep.c: New file.
diff --git a/gdb/alpha-tdep.h b/gdb/alpha-tdep.h
index 9ac564e..69fc9d2 100644
--- a/gdb/alpha-tdep.h
+++ b/gdb/alpha-tdep.h
@@ -54,6 +54,9 @@
#define ALPHA_PC_REGNUM 64 /* Contains program counter */
#define ALPHA_UNIQUE_REGNUM 66 /* PAL_rduniq value */
+/* Instruction size. */
+#define ALPHA_INSN_SIZE 4
+
/* The alpha has two different virtual pointers for arguments and locals.
The virtual argument pointer is pointing to the bottom of the argument