Folks, Here is another problem I'm stuck with. Would love to see if I could do Host/Target with KDP based debugging ! Any suggestion, please ? Prokash _______________________________________________ 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: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com On 10.10 I have the corresponding xnu source that I can now build ( both DEBUG and RELEASE). I uses Fusion, so taking snapshot of the running VM instance is not a problem, and I wanted to drop the kernel.debug to /Systems/Library/Kernel directory, named it as kernel, and boot from there. Since the KDP based LLDB is working when I try to connect from the host while I'm running the original OS version ( with or without the corresponding Kernel Debug Kit), I was hoping that in case of a continuous panic while trying to boot, I should be able to connect from the host. But the problem is that while the boot messages comes to the screen, it tells that both ip and mac addresses are 0s. Like 0.0.0.0 and 00:00:00:00:00:00. And I can not connect. I looked the debug.c and kdp.c code, there seem to be some variables related to ip etc., that are being set to 0s as default. Not sure if I could hard code them based on what have from the original setup, and that would work or not. If not, then how could I setup KDB/DDB using either nvram or using the com.apple.Boot.plist. I know this should give me just the single VM debugging !!
participants (1)
-
Prokash Sinha