• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GDB: Does "catch vfork" work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >GDB: Does "catch vfork" work? (From: Daniel Jalkut <email@hidden>)
 >Re: GDB: Does "catch vfork" work? (From: Damien Bobillot <email@hidden>)
 >Re: GDB: Does "catch vfork" work? (From: Daniel Jalkut <email@hidden>)
 >Re: GDB: Does "catch vfork" work? (From: Damien Bobillot <email@hidden>)
 >Re: GDB: Does "catch vfork" work? (From: Jim Correia <email@hidden>)
 >Re: GDB: Does "catch vfork" work? (From: "Justin C. Walker" <email@hidden>)
 >Re: GDB: Does "catch vfork" work? (From: Daniel Jalkut <email@hidden>)
 >Re: GDB: Does "catch vfork" work? (From: "Justin C. Walker" <email@hidden>)

  • Prev by Date: Re: Moving from OSX 10.3 (XCode 1.5) to OSX 10.4 (XCode 2.1)
  • Next by Date: Re: Moving from OSX 10.3 (XCode 1.5) to OSX 10.4 (XCode 2.1)
  • Previous by thread: Re: GDB: Does "catch vfork" work?
  • Next by thread: Re: GDB: Does "catch vfork" work?
  • Index(es):
    • Date
    • Thread