• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Live Kernel Debugging in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Live Kernel Debugging in Leopard


  • Subject: Re: Live Kernel Debugging in Leopard
  • From: Alexander von Below <email@hidden>
  • Date: Sun, 11 Nov 2007 16:01:40 +0100

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.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ 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
  • Follow-Ups:
    • Re: Live Kernel Debugging in Leopard
      • From: JanakiRam <email@hidden>
References: 
 >Live Kernel Debugging in Leopard (From: JanakiRam <email@hidden>)

  • Prev by Date: Live Kernel Debugging in Leopard
  • Next by Date: Re: Live Kernel Debugging in Leopard
  • Previous by thread: Live Kernel Debugging in Leopard
  • Next by thread: Re: Live Kernel Debugging in Leopard
  • Index(es):
    • Date
    • Thread