Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Message-ID: <3C482066.FD6BF18@yahoo.com> Date: Fri, 18 Jan 2002 08:17:26 -0500 From: Earnie Boyd X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Robert Collins CC: Earnie Boyd Subject: Re: strace.active References: <3C4819B9 DOT 2058D39E AT yahoo DOT com> <08d201c1a01e$d9130550$0200a8c0 AT lifelesswks> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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" > To: "Earnie Boyd" > 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