diff options
author | Christopher Faylor <me@cgf.cx> | 2002-02-14 21:51:32 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-02-14 21:51:32 +0000 |
commit | ed25e9e18ca83a998f9456072757b625dfcc6328 (patch) | |
tree | 2008b046209bd8ea582b6c82171eebd715c52c44 | |
parent | 3d4565208313226900b47c9789d47301ae5c70df (diff) | |
download | newlib-ed25e9e18ca83a998f9456072757b625dfcc6328.zip newlib-ed25e9e18ca83a998f9456072757b625dfcc6328.tar.gz newlib-ed25e9e18ca83a998f9456072757b625dfcc6328.tar.bz2 |
* strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.
-rw-r--r-- | winsup/utils/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/utils/strace.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index c986122..4ba9f33 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 5ce9d0d..a9f3762 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; } |