diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index c98612256..4ba9f3306 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2002-02-14 Christopher Faylor + + * strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE. + 2002-01-31 Corinna Vinschen * mkpasswd.c (main): Set default home path for 9x/Me if --path-to-home diff --git a/winsup/utils/strace.cc b/winsup/utils/strace.cc index 5ce9d0db5..a9f376231 100644 --- a/winsup/utils/strace.cc +++ b/winsup/utils/strace.cc @@ -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; }