This is the mail archive of the cygwin@sourceware.cygnus.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 across fork


I have found a short repeatable 95 fork bug (see below).

How do I debug into the child of a fork?

I have Mumit's build of Insight, but I can't seem to get the
"follow-fork-mode" to work.
(BTW, thank you Mumit.)

Regards,
Andrew Dalgleish


#include <sys/socket.h>
int main(int argc, char *argv[])
{
	if (! fork())
		socket(AF_INET, SOCK_STREAM, 0);
	return 0;
}


--
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]