Re: GDB: Does "catch vfork" work?
Re: GDB: Does "catch vfork" work?
- Subject: Re: GDB: Does "catch vfork" work?
- From: Daniel Jalkut <email@hidden>
- Date: Sun, 09 Oct 2005 13:28:31 -0400
I don't have any benefits of knowledge of the architecture, either. Just what I've observed in GDB :)On Oct 9, 2005, at 12:23 PM, Justin C. Walker wrote: Having the benefit of no source or other knowledge of the architecture, I'm happy to reply :-}
However, those same benefits leave me short of a good explanation.
Does the code appear to be: if (vfork() == 0) fork();
Yes, more or less. Nothing happens between the two, but the fork() is only reached by the (original) parent.
There's probably some explanation for the double-forking, I just wondered if there was a particularly common reason for choosing to do one as a vfork and the other as a plain fork.
Daniel |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden