Re: Debugging in kernel
Re: Debugging in kernel
- Subject: Re: Debugging in kernel
- From: "Michael Crawford" <email@hidden>
- Date: Tue, 3 Jul 2007 10:45:14 -0700
Hi,
There is nvram on your MacBook Pro - use the "man nvram" command.
The kernel printf ring buffer may circle around and delete your
messages before they get to user space. Alternative loggers are the
USB logger and FireLog.
The USB logger uses a userspace application called USB Prober that
runs on the same machine being debugged. You'll find it in
/Developer/Applications/Utilities. FireLog requires a second machine
connected via a FireWire cable. The software for it is included in
the FireWire SDK.
Setting up the two-machine GDB is a little hard to figure out at
first, but once you've done it a couple times it is easy and works
well.
Mike Crawford
mdcrawford at gmail dot com
http://www.geometricvisions.com/
_______________________________________________
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