aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-07-11 20:44:53 +0000
committerMark Kettenis <kettenis@gnu.org>2006-07-11 20:44:53 +0000
commit24c4176016ae0480a558aac3b9f6917e4088ca4e (patch)
tree70d791121a6a223962e6dd884fc77b7ab516c76e /gdb
parentf95c03496ddb61bd2a24e0f87cb2ad96536e36a3 (diff)
downloadgdb-24c4176016ae0480a558aac3b9f6917e4088ca4e.zip
gdb-24c4176016ae0480a558aac3b9f6917e4088ca4e.tar.gz
gdb-24c4176016ae0480a558aac3b9f6917e4088ca4e.tar.bz2
* alpha-tdep.h (ALPHA_INSN_SIZE): New define.
Diffstat (limited to 'gdb')
-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