delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/23/12:51:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Dalibor Topic <robilad AT kaffe DOT org>
cc: Steve Coleman <Steve DOT Coleman AT jhuapl DOT edu>, cygwin AT cygwin DOT com
Subject: Re: How to set breakpoints before mainCRTStartup?
In-Reply-To: <3FE87A1C.1020405@kaffe.org>
Message-ID: <Pine.GSO.4.56.0312231249340.15867@slinky.cs.nyu.edu>
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019