Re: how do I enable MACH_KDB on 10.8.0 ?
Re: how do I enable MACH_KDB on 10.8.0 ?
- Subject: Re: how do I enable MACH_KDB on 10.8.0 ?
- From: Shantonu Sen <email@hidden>
- Date: Wed, 16 Nov 2011 14:55:37 -0800
The kdb inline serial debugger is not supported, and was never ported to the 64 bit kernel. You should use KDP over Ethernet or FireWire.
Sent from my iPhone
On Nov 16, 2011, at 2:30 PM, Andrew Gallatin <email@hidden> wrote:
> I'm trying to build 10.8.0 with kdb.
> I edited osfmk/conf/MASTER and added a line:
> options MACH_KDB
>
> Then I rebuilt, but now the link is failing:
>
> CC version.o
> LD mach_kernel.sys
> Undefined symbols:
> "_getsymtab", referenced from:
> _aout_db_sym_init in db_aout.o
> ld: symbol(s) not found
>
>
>
> This is because libkern/kernel_mach_header.c has that
> compiled out when MACH_KDB is not defined. For now,
> I just hacked this into ./libkern/libkern/kernel_mach_header.h
> #ifndef MACH_KDB
> #define MACH_KDB 1
> #endif
>
> But is there a more proper way?
>
>
> BTW, I haven't crashed yet, so I don't know if kdb actually still
> works ;)
>
> Thanks,
>
> Drew
>
> _______________________________________________
> 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