Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 23 Dec 2003 12:50:41 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Dalibor Topic cc: Steve Coleman , cygwin AT cygwin DOT com Subject: Re: How to set breakpoints before mainCRTStartup? In-Reply-To: <3FE87A1C.1020405@kaffe.org> Message-ID: References: <3FE341DF DOT 90800 AT kaffe DOT org> <3FE49F02 DOT 2010904 AT kaffe DOT org> <3FE70A9A DOT 6070005 AT jhuapl DOT edu> <3FE87A1C DOT 1020405 AT kaffe DOT org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 23 Dec 2003, Dalibor Topic wrote: > Steve Coleman wrote: > > > > I have seen something like this before. If it is a C++ app then it may > > be a constructor in a statically or golbally declared object instance. > > The compiler should generate code to call all the global object > > constructors for initializing these objects *before* calling main(). > > Thanks, but kaffe is written in C, so global constructors can't be a > problem here. OTOH, maybe some part of Cygwin is written in C++ and may > be responsible for the damage? > > cheers, > dalibor topic The Cygwin-specific runtime is written in C++. Look in winsup/cygwin in the Cygwin sources. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/