What's the darwinbuild argument to build a debug kernel?
What's the darwinbuild argument to build a debug kernel?
- Subject: What's the darwinbuild argument to build a debug kernel?
- From: Sam Vaughan <email@hidden>
- Date: Tue, 11 Oct 2005 16:00:29 +1000
I downloaded Darwinbuild 0.7.1 today from <http://www.opendarwin.org/
projects/darwinbuild/releases/index.html> and it did exactly what it
said on the tin. Kudos and thanks!
Once upon a time you could build a debug kernel with:
make KERNEL_CONFIGS=DEBUG all
as described in Apple's KernelProgramming documentation. Alas, after
trying many permutations of darwinbuild arguments, grepping, googling
and faq'ing, I haven't managed to build anything other than an 8C46
RELEASE_PPC kernel.
What's the recommended way to build a debug kernel? I want to be
able to step through source without gdb getting confused (-O0 instead
of -Os), and have assertions trigger panics.
Thanks,
Sam
_______________________________________________
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