Re: Fork vs GDB

2001-06-26 Thread Nick Papadonis
Julien Laganier <[EMAIL PROTECTED]> writes: > Greetings, > > Does anyone knows how to debug a program which fork. It seems that gdb > doesn't allow us to debug the child processes without calling 'sleep' in > the child, and attach it to gdb (Except on HP-UX, but I choose to use > Linux ;-)) ? >

Fork vs GDB

2001-06-25 Thread Julien Laganier
Greetings, Does anyone knows how to debug a program which fork. It seems that gdb doesn't allow us to debug the child processes without calling 'sleep' in the child, and attach it to gdb (Except on HP-UX, but I choose to use Linux ;-)) ? Tnx. -- Julien Laganier Student Intern Sun Micr