This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] save/restore environ in libiberty pex_unix_exec_child
- From: Tom Tromey <tromey at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: dje at google dot com (Doug Evans), gcc-patches at gcc dot gnu dot org, gdb-patches at sourceware dot org
- Date: Mon, 07 Dec 2009 13:28:09 -0700
- Subject: Re: [RFA] save/restore environ in libiberty pex_unix_exec_child
- References: <20091207172641.398198456F@ruffy.mtv.corp.google.com> <200912072009.nB7K9moj000406__858.220636337315$1260216617$gmane$org@greed.delorie.com>
- Reply-to: tromey at redhat dot com
>>>>> "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