From: cgf Date: Thu, 14 Feb 2002 21:51:32 +0000 (+0000) Subject: * strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE. X-Git-Tag: cygwin_daemon_merge_HEAD~269 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=5e2873f8d51726f7dceef7a9d8c59372b209b67c;p=pf3gnuchains%2Fpf3gnuchains4x.git * strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE. --- diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index c986122566..4ba9f33068 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 5ce9d0db56..a9f3762313 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; }