Re: how do I enable MACH_KDB on 10.8.0 ?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com 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 <gallatin@cs.duke.edu> 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/ssen%40apple.com
This email sent to ssen@apple.com
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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Shantonu Sen