Red Hat Bugzilla – Bug 98850
set follow-fork-mode appears broken in gdb
Last modified: 2015-01-07 19:05:49 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
gdb, says in it's info package that it should support
follow forked children. Though when you set this it has
no effect on how the debugger behaves.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.set follow-fork-mode child
Actual Results: gdb remains attached to parent process.
Expected Results: gdb attaches to child process.
Is this option broken in this version of gdb. Or not supported.
Or are we just using this option incorrectly
This feature is not currently supported by GNU/Linux. It will require changes
to the Linux Kernel and those are only now just being integrated. Watch for
this feature in a future GDB (but not 6.0).