# The programmer is now made to _explicitly_ enable the GDB support in

the child handling function.
This commit is contained in:
Robert James Kaes 2003-04-16 16:39:23 +00:00
parent 6ff4192069
commit 4a942bc59a

View File

@ -1,4 +1,4 @@
/* $Id: child.c,v 1.8 2003-03-13 19:30:19 rjkaes Exp $
/* $Id: child.c,v 1.9 2003-04-16 16:39:23 rjkaes Exp $
*
* Handles the creation/destruction of the various children required for
* processing incoming connections.
@ -179,7 +179,8 @@ child_main(struct child_s* ptr)
connfd = accept(listenfd, cliaddr, &clilen);
#ifndef NDEBUG
/* Enable this when you want to use GDB */
#if 0
/* Pause for 10 seconds to allow us to connect debugger */
fprintf(stderr, "Process has accepted connection: %u\n", ptr->tid);
sleep(10);