strace.active

Earnie Boyd earnie_boyd@yahoo.com
Fri Jan 18 05:36:00 GMT 2002


But, strace.active isn't set in utils/strace.cc.  I can see that
DEBUG_PROCESS is set in the CreateProcess flags for the create_child
function and I can imagine that this controls the strace.active value
but I don't see how strace.active is set in the cygwin1.dll.

Earnie.

Robert Collins wrote:
> 
> Look in utils/strace.cc - search for _STRACE_INTERFACE_ACTIVATE_ADDR.
> 
> I haven't looked at the detail, but this is where strace checks that the
> flag was set correctly.
> 
> Rob
> ===
> ----- Original Message -----
> From: "Earnie Boyd" <earnie_boyd@yahoo.com>
> To: "Earnie Boyd" <Cygwin-Developers@Cygwin.Com>
> Sent: Friday, January 18, 2002 11:48 PM
> Subject: Q: strace.active
> 
> > Where or how does this variable get set?  I've searched through the
> > winsup code and could only find where it was checked to have a value.
> > The reason I'm asking is due to the sysinternals.com Dbgview
> executable
> > which will capture the OutputDebugString output to a window where you
> > can scroll, search or save the contents.  For Cygwin the strace.active
> > flag needs turned on for anything useful.  I turned it on by setting
> it
> > to 1 in the dcrt0.cc module but I would like to control is somehow.
> >
> > Suggestions?
> >
> > Earnie.
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the Cygwin-developers mailing list