Index: coregrind/vg_main.c =================================================================== RCS file: /home/kde/valgrind/coregrind/vg_main.c,v retrieving revision 1.147 diff -u -3 -p -r1.147 vg_main.c --- coregrind/vg_main.c 13 Mar 2004 02:06:58 -0000 1.147 +++ coregrind/vg_main.c 13 Apr 2004 15:38:42 -0000 @@ -350,6 +350,7 @@ void VG_(start_debugger) ( Int tid ) if ((res = VG_(waitpid)(pid, &status, 0)) == pid && WIFSTOPPED(status) && WSTOPSIG(status) == SIGSTOP && ptrace(PTRACE_SETREGS, pid, NULL, ®s) == 0 && + kill(pid, SIGSTOP) == 0 && ptrace(PTRACE_DETACH, pid, NULL, SIGSTOP) == 0) { Char pidbuf[15]; Char file[30];