This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
debugging across fork
- To: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
- Subject: debugging across fork
- From: Andrew Dalgleish <andrewd@axonet.com.au>
- Date: Fri, 27 Aug 1999 12:12:36 +1000
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