Bug 98850

Summary: set follow-fork-mode appears broken in gdb
Product: [Retired] Red Hat Linux Reporter: maurice dalton <maurice.dalton>
Component: gdbAssignee: Elena Zannoni <ezannoni>
Status: CLOSED UPSTREAM QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-07-26 17:31:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description maurice dalton 2003-07-09 15:29:09 UTC
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):
gdb-5.2-2

How reproducible:
Always

Steps to Reproduce:
1.set follow-fork-mode child
2.continue
3.
    

Actual Results:  gdb remains attached to parent process.

Expected Results:  gdb attaches to child process.


Additional info:

Is this option broken in this version of gdb. Or not supported.
Or are we just using this option incorrectly

Comment 1 Andrew Cagney 2003-07-26 17:29:26 UTC
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).