From 4a942bc59a515579251a3155d21c4925c1dfc6ea Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Wed, 16 Apr 2003 16:39:23 +0000 Subject: # The programmer is now made to _explicitly_ enable the GDB support in the child handling function. --- src/child.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/child.c b/src/child.c index 9b383cb..424933b 100644 --- a/src/child.c +++ b/src/child.c @@ -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); -- cgit v1.2.3