🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #1167

set follow-fork-mode child doesn't work

#1167
From: frakie
Date: Tue, 16 Oct 2007 15:40
8 lines
1447 bytes
Hi 'body,
i've written a c program which generates children one by one: every
child is generated after the previous is dead.
i launch gdb (6.3.0.0-1.132.EL3rh) and set follow-fork-mode child,
then run the program.
gdb follows the first child, but after it dies, gdb doesn't follow
neither any other child nor the parent...
why?
Technical Details
Message-ID: <1192549216.040165.258640@q5g2000prf.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!q5g2000prf.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f5053,43bd4f46aa7f09b6,start
X-Google-Attributes: gidf5053,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!q5g2000prf.googlegroups.com!not-for-mail
From:  frakie <frakieack@gmail.com>
Newsgroups: gnu.gdb.bug
Subject: set follow-fork-mode child doesn't work
Date: Tue, 16 Oct 2007 08:40:16 -0700
Organization: http://groups.google.com
Lines: 9
Message-ID: <1192549216.040165.258640@q5g2000prf.googlegroups.com>
NNTP-Posting-Host: 88.58.4.130
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1192549216 24550 127.0.0.1 (16 Oct 2007 15:40:16 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 16 Oct 2007 15:40:16 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 PROXY2000
Complaints-To: groups-abuse@google.com
Injection-Info: q5g2000prf.googlegroups.com; posting-host=88.58.4.130;
   posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0