diff options
author | Christopher Faylor <me@cgf.cx> | 2011-12-08 06:17:49 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-12-08 06:17:49 +0000 |
commit | 5025bf330bc3d26e93f52e59a9d2df6b08ee816a (patch) | |
tree | e70fbbe8f84c8a4c5cee711e2dfab6890c0e9fd0 /winsup/cygwin/strace.cc | |
parent | 069e637c0e979de8dadf9627a1a7c6a63b464513 (diff) | |
download | newlib-5025bf330bc3d26e93f52e59a9d2df6b08ee816a.zip newlib-5025bf330bc3d26e93f52e59a9d2df6b08ee816a.tar.gz newlib-5025bf330bc3d26e93f52e59a9d2df6b08ee816a.tar.bz2 |
* dll_init.cc (dll_dllcrt0): Don't try to initialize dll data if we're
dynamically loaded since fork() doesn't work in that scenario anyway.
(dll_dllcrt0_1): Don't accommodate dynamically loaded dlls.
* exceptions.cc (ctrl_c_handler): Don't lock the process; there's too much risk
of deadlock.
* sigproc.cc (_cygtls::remove_wq): Don't try to remove anything from the waitq
if there is obviously nothing there.
* strace.cc (strace::activate): Allow stracing dynamically loaded cygwin1.dll.
Diffstat (limited to 'winsup/cygwin/strace.cc')
-rw-r--r-- | winsup/cygwin/strace.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/strace.cc b/winsup/cygwin/strace.cc index 120ba32..49b4c5a 100644 --- a/winsup/cygwin/strace.cc +++ b/winsup/cygwin/strace.cc @@ -34,7 +34,7 @@ class strace NO_COPY strace; void strace::activate (bool isfork) { - if (!dynamically_loaded && !_active && being_debugged ()) + if (!_active && being_debugged ()) { char buf[30]; __small_sprintf (buf, "cYg%8x %x %d", _STRACE_INTERFACE_ACTIVATE_ADDR, &_active, isfork); |