From ed25e9e18ca83a998f9456072757b625dfcc6328 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 14 Feb 2002 21:51:32 +0000 Subject: * strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE. --- winsup/utils/strace.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/utils/strace.cc') 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; } -- cgit v1.2.3