From: Michael Snyder <msnyder@vmware.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: GDB hangs on kill or quit (after following a fork child, not detaching from the parent)
Date: Thu, 18 Dec 2008 19:26:00 -0000 [thread overview]
Message-ID: <494AA299.60308@vmware.com> (raw)
In-Reply-To: <200812122113.57018.pedro@codesourcery.com>
Pedro Alves wrote:
> [ Michael, you're the forks man. CCing you in case see an issue with
> the attached patch? ]
That's unfortunate -- I haven't thought about this since implementing
fork-based checkpoints, 2 or 3 years ago. ;-/
> When there are forks involved, linux_nat_kill calls into linux_fork_killall
> to do the killing. But, when following a fork child, and not
> detaching from the parent, we defer adding the child fork to the
> list of forks (which is confusing IMHO, see below),
Do you have any intuition as to why we did that?
I don't remember. Could it have been related to the
checkpoint case?
Otherwise it could simply have been an oversight...
I like your results, and your code changes look fine.
Can you confirm that it doesn't adversely affect the
checkpoint testsuites?
next prev parent reply other threads:[~2008-12-18 19:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-12 21:14 Pedro Alves
2008-12-18 19:26 ` Michael Snyder [this message]
2008-12-18 21:04 ` Pedro Alves
2008-12-18 21:26 ` Pedro Alves
2008-12-18 21:47 ` Michael Snyder
2008-12-19 5:17 ` teawater
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=494AA299.60308@vmware.com \
--to=msnyder@vmware.com \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.com \
/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