patch-2.1.73 linux/include/asm-i386/ptrace.h
Next file: linux/include/asm-i386/system.h
Previous file: linux/include/asm-i386/processor.h
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Tue Dec  9 17:57:09 1997
-  Orig file: 
v2.1.72/linux/include/asm-i386/ptrace.h
-  Orig date: 
Sat Oct  5 04:34:11 1996
diff -u --recursive --new-file v2.1.72/linux/include/asm-i386/ptrace.h linux/include/asm-i386/ptrace.h
@@ -41,6 +41,12 @@
 	int  xss;
 };
 
+/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
+#define PTRACE_GETREGS            12
+#define PTRACE_SETREGS            13
+#define PTRACE_GETFPREGS          14
+#define PTRACE_SETFPREGS          15
+
 #ifdef __KERNEL__
 #define user_mode(regs) ((VM_MASK & (regs)->eflags) || (3 & (regs)->xcs))
 #define instruction_pointer(regs) ((regs)->eip)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov