[PATCH] Fix strace -T

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Thu Sep 8 19:10:00 GMT 2011


On Thu, Sep 08, 2011 at 07:37:29PM +0100, Jon TURNEY wrote:
>
>strace -T to toggle stracing of a process doesn't seem to work at the moment. 
>Attached is a patch to make it work again.
>
>2011-09-08  Jon TURNEY  <jon.turney@dronecode.org.uk>
>
>	* include/sys/strace.h (strace): Add toggle() method
>	* strace.cc (toggle): Implement toggle() method
>	* sigproc.cc (wait_sig): Use strace.toggle() in __SIGSTRACE

IIRC, the intent was for hello() to toggle (in which case I guess it
should be hellogoodbye).  Why do you even need this functionality?
I'd just as soon remove it.

cgf



More information about the Cygwin-patches mailing list