Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: DJ Delorie <dj@redhat.com>
Cc: dje@google.com (Doug Evans),
	gcc-patches@gcc.gnu.org,         gdb-patches@sourceware.org
Subject: Re: [RFA] save/restore environ in libiberty pex_unix_exec_child
Date: Mon, 07 Dec 2009 20:28:00 -0000	[thread overview]
Message-ID: <m3r5r68r6u.fsf@fleche.redhat.com> (raw)
In-Reply-To: <200912072009.nB7K9moj000406__858.220636337315$1260216617$gmane$org@greed.delorie.com> 	(DJ Delorie's message of "Mon, 7 Dec 2009 15:09:48 -0500")

>>>>> "DJ" == DJ Delorie <dj@redhat.com> writes:

DJ> If the child assignment truly clobbers the parent, won't the parent's
DJ> assignment clobber the child?

During a vfork, the parent is suspended until the child execs or dies.
So, this assignment won't affect the child.

Tom


      parent reply	other threads:[~2009-12-07 20:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-07 17:26 Doug Evans
2009-12-07 20:10 ` DJ Delorie
2009-12-07 20:25   ` Doug Evans
2009-12-07 20:55     ` DJ Delorie
2009-12-07 21:37       ` Doug Evans
     [not found] ` <200912072009.nB7K9moj000406__858.220636337315$1260216617$gmane$org@greed.delorie.com>
2009-12-07 20:28   ` Tom Tromey [this message]

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=m3r5r68r6u.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=dj@redhat.com \
    --cc=dje@google.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb-patches@sourceware.org \
    /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