• 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: Fri, 07 Oct 2005 14:33:27 -0400

I noticed in the documentation that for vfork in particular, because it allows the child process to take over the parent's address space until exec'ing, the follow-fork may not be very helpful.

Daniel

On Oct 7, 2005, at 1:00 PM, Damien Bobillot wrote:

There may also be a problem with the process followed by gdb. When you use vfork, the system create a new process, but gdb may only debug on process at the same. It must choose to follow the parent process or the child process. The default behaviour is to follow the parent process, but you may change it with the gdb "set follow-fork-mode child" command.



 _______________________________________________
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

  • Follow-Ups:
    • Re: GDB: Does "catch vfork" work?
      • From: Damien Bobillot <email@hidden>
References: 
 >GDB: Does "catch vfork" work? (From: Daniel Jalkut <email@hidden>)
 >Re: GDB: Does "catch vfork" work? (From: Damien Bobillot <email@hidden>)

  • Prev by Date: Re: Xcode complains: configuration settings file does not exist
  • Next by Date: Re: avoid spaces in build configuration name
  • Previous by thread: Re: GDB: Does "catch vfork" work?
  • Next by thread: Re: GDB: Does "catch vfork" work?
  • Index(es):
    • Date
    • Thread