httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Tromey <>
Subject Re: inetd fix
Date Mon, 10 Jun 1996 15:26:36 GMT
>> As an aside, how did you debug this? How do I get an inetd configured
>> server into the debugger?

Alexei> I wish I knew; would have made my life easier.

My standard trick for debugging such programs is to put a sigsuspend()
or the moral equivalent at the beginning of main().  Then I attach to
the running process with gdb.  The attach causes the sigsuspend() to

"attach" isn't universally available, so YMMV.

--                 Member, League for Programming Freedom

View raw message