# The programmer is now made to _explicitly_ enable the GDB support in
the child handling function.
This commit is contained in:
parent
6ff4192069
commit
4a942bc59a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user