patch-2.3.23 linux/include/asm-sh/ptrace.h
Next file: linux/include/asm-sh/sigcontext.h
Previous file: linux/include/asm-sh/processor.h
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Mon Oct 18 11:16:13 1999
- Orig file:
v2.3.22/linux/include/asm-sh/ptrace.h
- Orig date:
Tue Aug 31 17:29:14 1999
diff -u --recursive --new-file v2.3.22/linux/include/asm-sh/ptrace.h linux/include/asm-sh/ptrace.h
@@ -2,7 +2,7 @@
#define __ASM_SH_PTRACE_H
/*
- * Copyright (C) 1999 Niibe Yutaka
+ * Copyright (C) 1999 Niibe Yutaka
*
*/
@@ -12,12 +12,13 @@
*/
struct pt_regs {
long syscall_nr;
- unsigned long u_regs[16];
+ unsigned long sr;
+ unsigned long sp;
+ unsigned long regs[15];
unsigned long gbr;
unsigned long mach;
unsigned long macl;
unsigned long pr;
- unsigned long sr;
unsigned long pc;
};
@@ -27,5 +28,4 @@
extern void show_regs(struct pt_regs *);
#endif
-#define UREG_SP 15
#endif /* __ASM_SH_PTRACE_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)