patch-2.4.20 linux-2.4.20/include/asm-parisc/ptrace.h
Next file: linux-2.4.20/include/asm-parisc/real.h
Previous file: linux-2.4.20/include/asm-parisc/psw.h
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/include/asm-parisc/ptrace.h
- Orig date:
Tue Dec 5 12:29:39 2000
diff -urN linux-2.4.19/include/asm-parisc/ptrace.h linux-2.4.20/include/asm-parisc/ptrace.h
@@ -8,7 +8,12 @@
#include <linux/types.h>
/* This struct defines the way the registers are stored on the
- stack during a system call. */
+ * stack during a system call.
+ *
+ * N.B. gdb/strace care about the size and offsets within this
+ * structure. If you change things, you may break object compatibility
+ * for those applications.
+ */
struct pt_regs {
unsigned long gr[32]; /* PSW is in gr[0] */
@@ -16,11 +21,8 @@
unsigned long sr[ 8];
unsigned long iasq[2];
unsigned long iaoq[2];
- unsigned long cr24;
- unsigned long cr25;
- unsigned long cr26;
unsigned long cr27;
- unsigned long cr30;
+ unsigned long pad0; /* available for other uses */
unsigned long orig_r28;
unsigned long ksp;
unsigned long kpc;
@@ -29,7 +31,6 @@
unsigned long isr; /* CR20 */
unsigned long ior; /* CR21 */
unsigned long ipsw; /* CR22 */
- unsigned long cr_pid[4]; /* CR8,9,12,13 */
};
#define task_regs(task) ((struct pt_regs *) ((char *)(task) + TASK_REGS))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)