From: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
To: Russell Shaw <rjshaw@netspace.net.au>
Cc: GDB <gdb@sources.redhat.com>
Subject: Re: fork()
Date: Thu, 31 Mar 2005 09:41:00 -0000 [thread overview]
Message-ID: <424BC58A.3040603@codito.com> (raw)
In-Reply-To: <424BC412.5070802@netspace.net.au>
Russell Shaw wrote:
> Siddharth Choudhary Kode wrote:
>
>> Check the info doc, sec. 4.10. This is only supported on GNU/Linux
>> 2.5.60+ and HP-UX 11.x+. If your platform doesn't support it, the
>> best option is to insert a sleep() statement at the beginning of your
>> child code and then have a new gdb session attach to the child process
>> before the sleep expires.
>
>
> Hi,
> I'm using 2.6.10 on debian sid.
>
>> On Thu, 31 Mar 2005, Russell Shaw wrote:
>>
>>> Hi,
>>>
>>> I was debugging a program with gdb-6.3 and did: set follow-fork-mode
>>> child
>>>
>>> but fork() still returns the PID meaning that it is still following
>>> the parent.
Can you show the context in which you are getting this ?
>>>
>>
--
Ramana Radhakrishnan
GNU Tools
codito ergo sum (www.codito.com)
next prev parent reply other threads:[~2005-03-31 9:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-31 6:00 fork() Russell Shaw
2005-03-31 9:11 ` fork() Siddharth Choudhary Kode
2005-03-31 9:31 ` fork() Russell Shaw
2005-03-31 9:41 ` Ramana Radhakrishnan [this message]
2005-03-31 10:44 ` fork() Russell Shaw
2005-03-31 10:46 ` fork() Russell Shaw
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=424BC58A.3040603@codito.com \
--to=ramana.radhakrishnan@codito.com \
--cc=gdb@sources.redhat.com \
--cc=rjshaw@netspace.net.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox