This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Problems debugging forked processes
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: Frank Schaefer <frank dot schafer at setuza dot cz>, gdb at sources dot redhat dot com
- Date: Sun, 21 Apr 2002 09:12:33 +0300 (IDT)
- Subject: Re: Problems debugging forked processes
On Fri, 19 Apr 2002, Daniel Jacobowitz wrote:
> > (gdb) show follow-fork-mode
> > Debugger response to a program call of fork or vfork is "parent".
> > (gdb) set follow-fork-mode child
> > (gdb) show follow-fork-mode
> > Debugger response to a program call of fork or vfork is "child".
>
> This variable doesn't actually affect GNU/Linux. Yeah, I know, I know.
> We need a documentation patch to address this; please file a PR
> (http://sources.redhat.com/gdb/, Bugs).
If someone tells me what should be documented, I'll do that. Now is the
time, since v5.2 is in pretest.
Is the issue that follow-fork-mode is only supported on a small number of
systems? If so, what are those systems, and is it enough to have their
list in the manual?