how do I enable MACH_KDB on 10.8.0 ?
how do I enable MACH_KDB on 10.8.0 ?
- Subject: how do I enable MACH_KDB on 10.8.0 ?
- From: Andrew Gallatin <email@hidden>
- Date: Wed, 16 Nov 2011 17:30:53 -0500
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