This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
follow-fork-mode child on SuSE 9.2 (i586 and x86_64) not working
- From: Wimmer Andreas <andreas dot wimmer at joanneum dot at>
- To: gdb at sources dot redhat dot com
- Date: Thu, 19 May 2005 15:54:40 +0200
- Subject: follow-fork-mode child on SuSE 9.2 (i586 and x86_64) not working
- Reply-to: andreas dot wimmer at joanneum dot at
Hi,
I am using SuSE 9.2 both on i586 and x86_64 platforms and have some
troubles to get the follow-fork-mode=child feature working
The system is using the kernels provided by the distribution
2.6.8-11.24 (based on 2.6.8 ?)
I tried with the distribution provided gdb (6.2.1) and also with 6.3
all with the same effect.
*) A debugged program starts up normally untill it reaches a fork
statement
*) The child process is created the debugger detects the child and
gives the message "Attaching after fork to child process .."
*) The child runs a while (it executed some of the initial code after
the fork) and then blocks
*) After that GDB also blocks without any chance to do something
NOTE: the parent process is left in "S+" state and the child remains in
"T+" state.
Regards,
Andreas