This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Problems debugging forked processes
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Cc: Daniel Jacobowitz <drow at mvista dot com>,Frank Schaefer <frank dot schafer at setuza dot cz>, gdb at sources dot redhat dot com
- Date: Sun, 21 Apr 2002 01:18:20 -0400
- Subject: Re: Problems debugging forked processes
- References: <Pine.SUN.3.91.1020421091101.2767B-100000@is>
> 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?
It is only supported on HP/UX (So yes).
Andrew