debugging across fork

Andrew Dalgleish andrewd@axonet.com.au
Thu Aug 26 19:10:00 GMT 1999


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



More information about the Cygwin mailing list