Re: Where is kdbg_control()?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Oct 6, 2006, at 00:24 , John Dalgliesh wrote: Thanks. Of course just after sending the email, I discovered it. Where is the source? Seems like it could be better... Thanks! -- Rick _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... On Fri, 6 Oct 2006, Rick Mann wrote: I'm trying to learn how sysctl() with KERN_KDEBUG works, by reading the source for kern_sysctl(). It ends up calling kdbg_control(), but for the life of me I can't find that. JohnsMBP:~/Darwin/xnu-792 johnd$ grep -r kdbg_control * ... bsd/kern/kdebug.c:kdbg_control(int *name, u_int namelen, user_addr_t where, size_t *sizep) ... Where did you get the source for kern_sysctl? Anyway it's here: <http://www.opensource.apple.com/darwinsource/> Although the kernel (xnu) only seems to be present under PPC, hmmm.. Well, that's not what I meant by that question, I was referring to the source of kdbg_control, but...you bring up another question (sorry for what must be a very fundamental question). How do I just get all the source? Do I have to download each module separately? Do I download all the PPC, then add to that the Intel source? I finally found the cvs instructions (still cvs, huh? when will it move to Subversion, or HAH! Perforce...), but they seem to be quite lacking, and still seem to require that I painstakingly download each module. This email sent to site_archiver@lists.apple.com
participants (1)
-
Rick Mann