delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/06/07/20:30:46

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: Thu, 7 Jun 2001 20:30:55 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
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
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" <cgf AT redhat DOT com>
>To: <cygwin-developers AT cygwin DOT com>
>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" <cgf AT redhat DOT com>
>>>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

- Raw text -


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