|
From: Jan-Benedict G. <jb...@us...> - 2004-09-30 21:21:19
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27028/kernel Modified Files: ptrace.c Log Message: - Older whitespace-only adjustment. Index: ptrace.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/ptrace.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- ptrace.c 26 Jun 2003 23:27:41 -0000 1.10 +++ ptrace.c 30 Sep 2004 21:21:09 -0000 1.11 @@ -350,6 +350,7 @@ put_task_struct(child); out: unlock_kernel(); + return res; } @@ -359,12 +360,14 @@ return; if (!(current->ptrace & PT_PTRACED)) return; + current->exit_code = SIGTRAP; current->state = TASK_STOPPED; notify_parent(current, SIGCHLD); schedule(); + /* - * this isn't the same as continuing with a signal, but it will do + * This isn't the same as continuing with a signal, but it will do * for normal use. strace only continues with a signal if the * stopping signal is not SIGTRAP. -brl */ @@ -373,3 +376,4 @@ current->exit_code = 0; } } + |