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 20:30:55 -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: <20010607203055.B22831@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> <20010607185207 DOT A22408 AT redhat DOT com> <011101c0efa4$b1388440$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: <011101c0efa4$b1388440$0200a8c0@lifelesswks>; from robert.collins@itdomain.com.au on Fri, Jun 08, 2001 at 08:53:38AM +1000 On Fri, Jun 08, 2001 at 08:53:38AM +1000, Robert Collins wrote: > >----- Original Message ----- >From: "Christopher Faylor" >To: >Sent: Friday, June 08, 2001 8:52 AM >Subject: Re: dtable changes causing _very_ slow startup and >process-startup headache. [was Re: auto-import ld] > > >>On Fri, Jun 08, 2001 at 08:35:22AM +1000, Robert Collins wrote: >>>----- Original Message ----- >>>From: "Christopher Faylor" >>>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. > > >I tried that :[. > >$ gdb -nw df.exe (gdb) dll cygwin1.dll (gdb) break dtable::extend >Cannot access memory at address 0x61006618 I don't know why gdb works this way but you should be able to set a breakpoint on the line number inside of dtable::extend. You can't set a breakpoint on the function itself before the program runs. cgf