Re: kext debugging in Lion broken?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com
If you are running Xcode 4.1's gdb on your debugger machine, you don't need to generate a .sym file with kextload -s. Instead you can target remote-kdp in gdb (on your "remote computer") and do
(gdb) add-kext ~/XXXX.kext
and gdb will get the addresses of where your kext was loaded directly from the kernel of the Barolo system that's in kdp mode. (the kextload -s command that was used previously was the old way of telling gdb where everything got loaded)
Is that Lion only? Because, hot damn, that is cool! --Ken _______________________________________________ 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)
-
Ken Hornstein