* strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.
This commit is contained in:
parent
3d45652083
commit
ed25e9e18c
|
@ -1,3 +1,7 @@
|
|||
2002-02-14 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.
|
||||
|
||||
2002-01-31 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* mkpasswd.c (main): Set default home path for 9x/Me if --path-to-home
|
||||
|
|
|
@ -291,7 +291,7 @@ attach_process (pid_t pid)
|
|||
if (!DebugActiveProcess (child_pid))
|
||||
error (0, "couldn't attach to pid %d<%d> for debugging", pid, child_pid);
|
||||
|
||||
(void) cygwin_internal (CW_STRACE_ON, pid);
|
||||
(void) cygwin_internal (CW_STRACE_TOGGLE, pid);
|
||||
printf ("Attached to pid %d (windows pid %u)\n", pid, (unsigned) child_pid);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue