Setting up two-machine kernel debugging via firewire
Setting up two-machine kernel debugging via firewire
- Subject: Setting up two-machine kernel debugging via firewire
- From: email@hidden
- Date: Wed, 02 Nov 2011 16:07:51 -0500
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:
(gdb) kdp-reattach localhost
Connected.
The problem is that 'showallkmods' returns an empty list and none of
the other similar commands appear to be working:
(gdb) showallkmods
kmod address size id refs version name
(gdb) showalltasks
task vm_map ipc_space #acts pid process io_policy
wq_state command
Invalid type combination in equality test.
(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
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.
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden