patch-2.0.35 linux/include/asm-i386/ptrace.h
Next file: linux/include/asm-i386/termios.h
Previous file: linux/include/asm-alpha/termios.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Jul 13 13:47:38 1998
- Orig file:
v2.0.34/linux/include/asm-i386/ptrace.h
- Orig date:
Wed Sep 13 00:08:39 1995
diff -u --recursive --new-file v2.0.34/linux/include/asm-i386/ptrace.h linux/include/asm-i386/ptrace.h
@@ -43,6 +43,12 @@
unsigned short ss, __ssu;
};
+/* 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)->cs))
#define instruction_pointer(regs) ((regs)->eip)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov