Fork vs GDB

Julien Laganier (Julien.Laganier@Sun.COM)
Mon, 25 Jun 2001 17:36:23 +0200


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 Microsystem Laboratories - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/