patch-2.4.0-test9 linux/arch/i386/kernel/ptrace.c

Next file: linux/arch/i386/kernel/setup.c
Previous file: linux/arch/i386/kernel/process.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/arch/i386/kernel/ptrace.c linux/arch/i386/kernel/ptrace.c
@@ -100,10 +100,6 @@
 			value &= FLAG_MASK;
 			value |= get_stack_long(child, EFL_OFFSET) & ~FLAG_MASK;
 			break;
-		case EIP:
-			/* Mark us as not being in a system call, so that no restart issues happen */ 
-			put_stack_long(child, 4*ORIG_EAX - sizeof(struct pt_regs), -1);
-			break;
 	}
 	if (regno > GS*4)
 		regno -= 2*4;

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