mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
* strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.
This commit is contained in:
parent
3d45652083
commit
ed25e9e18c
@ -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>
|
2002-01-31 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* mkpasswd.c (main): Set default home path for 9x/Me if --path-to-home
|
* mkpasswd.c (main): Set default home path for 9x/Me if --path-to-home
|
||||||
|
@ -291,7 +291,7 @@ attach_process (pid_t pid)
|
|||||||
if (!DebugActiveProcess (child_pid))
|
if (!DebugActiveProcess (child_pid))
|
||||||
error (0, "couldn't attach to pid %d<%d> for debugging", pid, 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);
|
printf ("Attached to pid %d (windows pid %u)\n", pid, (unsigned) child_pid);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user