On Thu, Jun 06, 2002 at 02:07:57AM +0100, Conrad Scott wrote: >Another patch but very small. > >Currently calls to: > > cygwin_internal (CW_STRACE_TOGGLE, pid) > >doesn't toggle the stracing of pid but simply turns it on again, i.e. a >no-op after the first call.
Did you look at strace::hello? This is supposed to toggle but, since the "inited" field in the strace class is never set, it never toggles. >I've got a small program that makes this call for a given process, so you >can turn stracing on and off around events of interest etc. I'll send it >along once I've thought of a good name for it (strtoggle? stroggle? >stronoff? . . . ) Any suggestions? I don't understand what this program does. Are you saying that you run this other program while stracing a running program? I've never had a real use for this myself, but it sounds like this is an strace option, not another program. cgf
