patch-2.4.25 linux-2.4.25/include/asm-mips/gdb-stub.h

Next file: linux-2.4.25/include/asm-mips/hazards.h
Previous file: linux-2.4.25/include/asm-mips/elf.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/include/asm-mips/gdb-stub.h linux-2.4.25/include/asm-mips/gdb-stub.h
@@ -21,11 +21,11 @@
  * Stack layout for the GDB exception handler
  * Derived from the stack layout described in asm-mips/stackframe.h
  *
- * The first PTRSIZE*5 bytes are argument save space for C subroutines.
+ * The first PTRSIZE*6 bytes are argument save space for C subroutines.
  */
 #define NUMREGS			90
 
-#define GDB_FR_REG0		(PTRSIZE*5)			/* 0 */
+#define GDB_FR_REG0		(PTRSIZE*6)			/* 0 */
 #define GDB_FR_REG1		((GDB_FR_REG0) + 4)		/* 1 */
 #define GDB_FR_REG2		((GDB_FR_REG1) + 4)		/* 2 */
 #define GDB_FR_REG3		((GDB_FR_REG2) + 4)		/* 3 */
@@ -142,9 +142,9 @@
 struct gdb_regs {
 	/*
 	 * Pad bytes for argument save space on the stack
-	 * 20/40 Bytes for 32/64 bit code
+	 * 24/48 Bytes for 32/64 bit code
 	 */
-	unsigned long pad0[5];
+	unsigned long pad0[6];
 
 	/*
 	 * saved main processor registers

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)