This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: fork()
Siddharth Choudhary Kode wrote:
Check the info doc, sec. 4.10. This is only supported on GNU/Linux
2.5.60+ and HP-UX 11.x+. If your platform doesn't support it, the best
option is to insert a sleep() statement at the beginning of your child
code and then have a new gdb session attach to the child process before
the sleep expires.
Hi,
I'm using 2.6.10 on debian sid.
On Thu, 31 Mar 2005, Russell Shaw wrote:
Hi,
I was debugging a program with gdb-6.3 and did: set follow-fork-mode
child
but fork() still returns the PID meaning that it is still following
the parent.