diff options
author | Mark Kettenis <kettenis@gnu.org> | 2006-07-11 20:44:53 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2006-07-11 20:44:53 +0000 |
commit | 24c4176016ae0480a558aac3b9f6917e4088ca4e (patch) | |
tree | 70d791121a6a223962e6dd884fc77b7ab516c76e | |
parent | f95c03496ddb61bd2a24e0f87cb2ad96536e36a3 (diff) | |
download | gdb-24c4176016ae0480a558aac3b9f6917e4088ca4e.zip gdb-24c4176016ae0480a558aac3b9f6917e4088ca4e.tar.gz gdb-24c4176016ae0480a558aac3b9f6917e4088ca4e.tar.bz2 |
* alpha-tdep.h (ALPHA_INSN_SIZE): New define.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/alpha-tdep.h | 3 |
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 |