This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to set breakpoints before mainCRTStartup?

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.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]