[RFA] save/restore environ in libiberty pex_unix_exec_child

Tom Tromey tromey@redhat.com
Mon Dec 7 20:28:00 GMT 2009


>>>>> "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



More information about the Gdb-patches mailing list