GDB: Does "catch vfork" work?
GDB: Does "catch vfork" work?
- Subject: GDB: Does "catch vfork" work?
- From: Daniel Jalkut <email@hidden>
- Date: Fri, 07 Oct 2005 12:44:11 -0400
I'm using gdb to examine the behavior of the screencapture mechanism
(handled by SystemUIServer in response to the Cmd-Shift-4 shortcut).
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 :)
Thanks!
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