delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/06/08/02:32:18

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Fri, 8 Jun 2001 10:31:49 +0400
From: egor duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: egor duda <cygwin-developers AT cygwin DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <15974599808.20010608103149@logos-m.ru>
To: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
CC: cygwin-developers AT cygwin DOT com
Subject: Re: dtable changes causing _very_ slow startup and process-startup headache. [was Re: auto-import ld]
In-reply-To: <009901c0efa2$23f65320$0200a8c0@lifelesswks>
References: <000901c0ef4e$904cbe50$6e032bb7 AT BRAMSCHE>
<018e01c0ef53$02e833f0$0200a8c0 AT lifelesswks> <20010607155145 DOT A21540 AT redhat DOT com>
<009901c0efa2$23f65320$0200a8c0 AT lifelesswks>
Mime-Version: 1.0

Hi!

Friday, 08 June, 2001 Robert Collins robert DOT collins AT itdomain DOT com DOT au wrote:

RC> How do you get gdb to stop in cygwin1.dll before main() is reached? The
RC> delay occurs during dll initialisation AFAICT, and I haven't managed to
RC> find out how to stop that early on.

i usually use

========== debug.bat ===========
start gdb.exe -nw
rem Wait for 20 seconds at startup of any cygwin application
set CYGWIN_SLEEP=20000
bad_cygwin_program.exe
================================

and then attach from gdb to the bad_cygwin_program's pid.

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


- Raw text -


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