Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB: Does "catch vfork" work?



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.