summaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.h
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
commit235d0b2eb61d5b921d7c3ed101ea2b1e543b4c16 (patch)
tree5d966d8945ba0189793f105ab4a01e32d7c7165d /gdb/alpha-tdep.h
parent80ef8d29599427c18a919c590493706c8ab6ed8a (diff)
downloadgdb-235d0b2eb61d5b921d7c3ed101ea2b1e543b4c16.tar.gz
* alpha-tdep.h (ALPHA_INSN_SIZE): New define.
Diffstat (limited to 'gdb/alpha-tdep.h')
-rw-r--r--gdb/alpha-tdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/alpha-tdep.h b/gdb/alpha-tdep.h
index 9ac564ef574..69fc9d256ce 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