Re: Further debugging kernel panics.
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Well I think I know what it is, but can't get the symbols to load. I had problems of debugging symbols being removed from my kexts. It appeared that I needed to do two things to fix it: - change some project property in Xcode (don't remember any more which one, as I have moved away from Xcode to use plain old Makefiles) - not to use Xcode to "install" the kext in /tmp, but copy it verbatim. For some reason I couldn't make Xcode install target not to strip the kext. Finally, it was necessary for me to copy back the symbol table, as generated with kextload -s, from the target machine back go the machine running gdb, and make sure that I was loading the right kernel to gdb. (I was running a debug kernel on the target machine, and regular kernel on the one where I run gdb.) --Pekka _______________________________________________ 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... When I load my kext, and do kextstat, the addresses begin there, so that is must be where it is crashing within my NKE, but I try to load my kext's symbol file generated by kextload -s, and do backtrace(bt) and still it shows the ??, This email sent to site_archiver@lists.apple.com
participants (1)
-
Pekka Nikander