This is driving me *nuts*. I'm trying to use GDB to debug a
daemon which has a fork(2) call in it. How do I tell
GDB to continue debugging the child after the parent process
dies? I've looked in the manual, and didn't see anthing which
addresses this directly.
I tried to use "attach" on the running daemon, but when I
did, I got an error message saying "Can't attach to process
on this machine."
I'm working on a Silicon Graphics Indigo Elan, running
IRIX 4.0.5. The GDB version is 4.7, compiled with
What am I doing wrong? Any ideas?