Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-02-15 00:51:32 +0300
committerChristopher Faylor <me@cgf.cx>2002-02-15 00:51:32 +0300
commited25e9e18ca83a998f9456072757b625dfcc6328 (patch)
tree2008b046209bd8ea582b6c82171eebd715c52c44
parent3d4565208313226900b47c9789d47301ae5c70df (diff)
* strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.
-rw-r--r--winsup/utils/ChangeLog4
-rw-r--r--winsup/utils/strace.cc2
2 files changed, 5 insertions, 1 deletions
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 <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
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;
}