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

egor duda deo@logos-m.ru
Thu Jun 7 23:32:00 GMT 2001


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

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

More information about the Cygwin-developers mailing list