This is the mail archive of the cygwin@sources.redhat.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]

Debugging child process


I need to debug a process immediately after fork. IIRC gdb under cygwin cannot
continue debugging across forks (is it correct?) I've tried to add sigpause()
to be able to attach to child, but somehow it does not work. Child stops, I
can attach and set breakpoint, but cont'ing does not works (I say cont and
send signal from shell but child never seems to hit breakpoint).

Any idea?

TIA

-andrej

Have a nice DOS!
B >>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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