Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 X-Mailer: The Bat! (v1.45) Personal Reply-To: egor duda Organization: deo X-Priority: 3 (Normal) Message-ID: <15974599808.20010608103149@logos-m.ru> To: "Robert Collins" 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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