Re: Setting up two-machine kernel debugging via firewire
Re: Setting up two-machine kernel debugging via firewire
- Subject: Re: Setting up two-machine kernel debugging via firewire
- From: Shantonu Sen <email@hidden>
- Date: Thu, 03 Nov 2011 05:18:34 -0700
kdp-reattach lets you steal a connection in case someone else is currently attached. It can also help in cases where a debug session is interrupted and you need to get the panicked system to just reset its internal state machine.
Are you sure your target is running the 32-bit kernel? What does uname -a print before you enter the kernel debugger.
Yes, you need to have your kernel debug kit exactly match whatever build your target is running. There is no close enough.
Shantonu
On Nov 3, 2011, at 5:13 AM, email@hidden wrote:
> On Wed, 02 Nov 2011 18:48:56 -0400, Ken Hornstein wrote:
>>> (gdb) kdp-reattach localhost
>>> Connected.
>>
>> Stupid question time: how come you're using kdp-reattach, rather than
>> kdp-attach?
>
> Well, my answer won't be much better.
>
> Because that is what the instructions on http://fieldofcows.com/index.php?title=Setting_up_Kernel_Debugging_on_OS_X say.
>
> Have you successfully done this?
>
> Is using kdp-reattach not necessary?
>
> _______________________________________________
> 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
_______________________________________________
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