| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Daniel Jalkut wrote :
SystemUIServer uses vfork to spawn a new process for the screencapture invocation. In the process of examining gdb's facilities for working with multiple processes, I noticed the intriguing "catch" command.
I thought I would test it out on SystemUIServer since I know it calls vfork. But "catch vfork" doesn't seem to work. Setting a breakpoint on vfork works. I notice that "catch start" kindly informs me that it's not implemented yet. Should "catch vfork" be saying the same thing?
And out of curiosity, what are the benefits of using "catch" as opposed to "break" when the thing that's being caught corresponds to a system call? "catch start" sounds cool because it doesn't correspond to a system call. I guess that may be why it's not implemented yet :)
-- Damien Bobillot
_______________________________________________ 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
| References: | |
| >GDB: Does "catch vfork" work? (From: Daniel Jalkut <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.