Fork vs GDB

From: Julien Laganier (Julien.Laganier@Sun.COM)
Date: Mon Jun 25 2001 - 10:36:23 EST


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 ;-)) ?



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 More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:12 EST