This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: dtable changes causing _very_ slow startup and process-startup headache. [was Re: auto-import ld]


Hi!

Friday, 08 June, 2001 Robert Collins robert.collins@itdomain.com.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@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]