Re: single machine debugging?/advice for noob on OS X panic analysis
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Eric R Johnson writes:
I'd like to try to my hand at doing some panic analysis if I can get past the single-machine limitation. In the past, I've worked on Solaris boxes and was able to use adb from a terminal on a system core dump in the /var/crash directory. Can I configure OS X to savecore in a filesystem directory and use gdb on it? Maybe this is described somewhere and I just missed it?
Nope, the lack of local crashdumps is a real source of frustration for me. Starting with 10.3, you can at least save a crashdump to a remote machine. See TN2118: http://developer.apple.com/technotes/tn2004/tn2118.html for instructions on how to set the mac up. You'll need to obtain the source to kdumpd from the network_cmds darwin project. Its just a modified tftpd, so porting it is easy. I run it on FreeBSD. You should also check out http://developer.apple.com/documentation/Darwin/Conceptual/KernelProgramming... and http://developer.apple.com/technotes/tn2002/tn2063.html If you download the kernel debug kit, you get a nice set of gdb macros to do some of the cool things that adb can do (like showing all stacks), plus better kernel (and kext) synmbol info. Drew _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Andrew Gallatin