|
From: Kenn H. <ke...@us...> - 2004-11-18 09:29:05
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14961/arch/vax/kernel Modified Files: ptrace.c Log Message: Common code refactored into ptrace_notify in 2.6.9 Index: ptrace.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/ptrace.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- ptrace.c 30 Sep 2004 21:21:09 -0000 1.11 +++ ptrace.c 18 Nov 2004 09:28:57 -0000 1.12 @@ -361,10 +361,8 @@ if (!(current->ptrace & PT_PTRACED)) return; - current->exit_code = SIGTRAP; - current->state = TASK_STOPPED; - notify_parent(current, SIGCHLD); - schedule(); + ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) + ? 0x80 : 0)); /* * This isn't the same as continuing with a signal, but it will do |