Re: Live Kernel Debugging in Leopard
Re: Live Kernel Debugging in Leopard
- Subject: Re: Live Kernel Debugging in Leopard
- From: JanakiRam <email@hidden>
- Date: Sun, 11 Nov 2007 20:45:06 +0530
Hi Alexander,
Thanks for the initial response.
One more question -- Will i be able to get stack trace if a kernel panic happens ?
-JanakiRam.
On 11/11/07, Alexander von Below <email@hidden
> wrote:Hello JanakiRam,
yes, it is true, but what is does is that it allows you to view the
Kernels memory, no more no less. No breakpoints, etc.
You need to set your boot args to kmem=1:
sudo nvram boot-args="kmem=1"
start gdb:
sudo gdb /Volumes/KernelDebugKit/mach_kernel
then, in gdb
target darwin-kernel
attach
and you are connected to your live kernel
Alex
Am 11.11.2007 um 08:28 schrieb JanakiRam:
> Hi All,
>
> I'm new to leopard. I've been using 2 machine debugging
> technique in Tiger to resolve the errors in My kext.
>
> I heard that in Leopard , there is a sophisticated way to
> debug the kernel on live. Is this True ?
>
> If so , Can any one point me to the links/documents which
> describe Live Kernel Debugging.
>
> Please help me to learn the new technique. Thanks in Advance.
>
> -JanakiRam.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
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