Re: kext debugging in Lion broken?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com While I can not check this problem, I would always advise to use FirewireKDP over Ethernet debugging. Did you try that? Alex Am 16.08.2011 um 07:06 schrieb David Tay:
Previously (Panther - Snow Leopard), I would do the following (ethernet based connection) 1. load the kext on the target machine kextload -l -s ~/ XXXX.kext 2. start gdb on the remote machine. 3. target remote kdp on the remote machine, 4. add-symbol-file YYYY copied from the target machine. 5. set break points in the code. 6. kextstat to make sure the kext was still loaded on the target machine. 7. Command -Power on target machine 8. connect <IP addr> from remote machine gdb session. 9. continue in gdb. 10. kextload -m on target machine.
On Lion, none of the breakpoints (eg start, stop) are reached and the driver continues running. I'm using the Lion A511 kernel debug kit.
What could be happening?
Thanks,
David _______________________________________________ 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/below%40mac.com
This email sent to below@mac.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)
-
Alexander von Below