Re: Where is kdbg_control()?
Re: Where is kdbg_control()?
- Subject: Re: Where is kdbg_control()?
- From: Rick Mann <email@hidden>
- Date: Fri, 6 Oct 2006 00:51:18 -0700
On Oct 6, 2006, at 00:24 , John Dalgliesh wrote:
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)
...
Thanks. Of course just after sending the email, I discovered it.
Where is the source?
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.
Seems like it could be better...
Thanks!
--
Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden