aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/strace.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2010-03-31 18:06:02 +0000
committerChristopher Faylor <me@cgf.cx>2010-03-31 18:06:02 +0000
commitbc3f0d64c98c361b5183def1a7ec1d6964607660 (patch)
tree4c6d18a28968446dd9376de70fff57ed406cd0c8 /winsup/cygwin/strace.cc
parente446d6d0f46722c6303f7c0dfbde27009d35045a (diff)
downloadnewlib-bc3f0d64c98c361b5183def1a7ec1d6964607660.zip
newlib-bc3f0d64c98c361b5183def1a7ec1d6964607660.tar.gz
newlib-bc3f0d64c98c361b5183def1a7ec1d6964607660.tar.bz2
* sigproc.cc (wait_sig): Make sure that strace is activated on __SIGSTRACE by
calling new strace::activate function. * strace.cc (strace::activate): Rename from strace::strace. * strace.h (strace::activate): Define new function. (strace::strace): Call activate.
Diffstat (limited to 'winsup/cygwin/strace.cc')
-rw-r--r--winsup/cygwin/strace.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/strace.cc b/winsup/cygwin/strace.cc
index fb62e29..beba5b3 100644
--- a/winsup/cygwin/strace.cc
+++ b/winsup/cygwin/strace.cc
@@ -31,7 +31,8 @@ class strace NO_COPY strace;
#ifndef NOSTRACE
-strace::strace ()
+void
+strace::activate ()
{
if (!dynamically_loaded && !_active && being_debugged ())
{