Setting up two-machine kernel debugging via firewire
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Roundcube Webmail/0.5.4 (gdb) kdp-reattach localhost Connected. (gdb) showallkmods kmod address size id refs version name (gdb) showregistry Please load kgmacros after KDP attaching to the target. (gdb) source /Volumes/KernelDebugKit/kgmacros Loading Kernel GDB Macros package. Type "help kgm" for more info. (gdb) showallkmods kmod address size id refs version name (gdb) showregistry Please load kgmacros after KDP attaching to the target. (gdb) showbootargs Invalid cast. I am running 10.6.8 and am using kernel_debug_kit_10.6.8_10k540.dmg Thank you. p.s. if there is a better mailing list, please let me know. _______________________________________________ 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... The archives are down at the moment, so I haven't been able to search through them to see if there is already an answer available to this problem. The instructions found at Setting Up Kernel Debugging (http://fieldofcows.com/index.php?title=Setting_up_Kernel_Debugging_on_OS_X) are what I used to get to this point. On the machine running the kext I want to debug, I do see the message "Connected to remote debugger". On the machine I am running gdb on, I do see: The problem is that 'showallkmods' returns an empty list and none of the other similar commands appear to be working: (gdb) showalltasks task vm_map ipc_space #acts pid process io_policy wq_state command Invalid type combination in equality test. Now, I suppose one problem might be that when I check to see what version of the OS I am running via the System Profiler, it says Mac OS X 10.6.8 (10K549). I have tried hunting for a kernel debug kit for 10K549, but haven't been able to locate one. However, what is also strange is that I haven't been able to relocate the kernel debug kit for 10k540 either...which had me thinking that it may have been pulled due to some kind of issue. I am not sure what other details one might need to diagnose what has gone wrong, but if there are any, let me know and I will do my best to provide them. This email sent to site_archiver@lists.apple.com
participants (1)
-
mailist@ericgorr.net