This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Introduce ALPHA_INSN_SIZE


I used this in alphaobsd-tdep.c, but forgot to commit this bit.

Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* alpha-tdep.h (ALPHA_INSN_SIZE): New define.

Index: alpha-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/alpha-tdep.h,v
retrieving revision 1.24
diff -u -p -r1.24 alpha-tdep.h
--- alpha-tdep.h 10 Jul 2006 15:28:02 -0000 1.24
+++ alpha-tdep.h 11 Jul 2006 20:43:45 -0000
@@ -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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]