Make CW_STRACE_TOGGLE toggle

Christopher Faylor cgf@redhat.com
Wed Jun 5 19:08:00 GMT 2002


On Thu, Jun 06, 2002 at 02:58:53AM +0100, Conrad Scott wrote:
>> I've never had a real use for this myself, but it sounds like this is an
>> strace option, not another program.
>
>I've been using this with XEmacs so that I can get strace output just for
>some particular action. The strace log is so huge otherwise I can never find
>the output that corresponds to what I was trying to test.
>
>If this was to be another option to strace.exe, it would save the effort of
>thinking up a name for a new program :-)

Yep, sometimes that is the hardest part.

>Anyhow, I can send a patch to do just that but it'll have to be tomorrow.

How about something like 'strace [-T|--toggle] pid' where the only thing that
it does is turn strace/on off?  No other options allowed.

cgf



More information about the Cygwin-patches mailing list