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: Thu, 7 Jun 2001 18:52:07 -0400 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: dtable changes causing _very_ slow startup and process-startup headache. [was Re: auto-import ld] Message-ID: <20010607185207.A22408@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com 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-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <009901c0efa2$23f65320$0200a8c0@lifelesswks>; from robert.collins@itdomain.com.au on Fri, Jun 08, 2001 at 08:35:22AM +1000 On Fri, Jun 08, 2001 at 08:35:22AM +1000, Robert Collins wrote: >----- Original Message ----- >From: "Christopher Faylor" >To: >Sent: Friday, June 08, 2001 5:51 AM >Subject: Re: dtable changes causing _very_ slow startup and >process-startup headache. [was Re: auto-import ld] > > >> >> What clues are you hoping for that wouldn't be immediately apparent >from >> running gdb on this? If there is a substantial delay, it should be >really >> easy to figure out where this is. > >There are no clues immediately apparent _after_ running GDB on this. >Should != what I experienced. > >Clues_p (If it was a known HEAD issue, or if it sparked a memory for >you!?) > >How do you get gdb to stop in cygwin1.dll before main() is reached? The >delay occurs during dll initialisation AFAICT, and I haven't managed to >find out how to stop that early on. Set a breakpoint in the appropriate routine. You can use the "dll" command to preload cygwin1.dll. cgf