I am trying to debug a core dump using 10.9.5 kernel debug kit. I am using below command to load my kext symbols: target modules add /tmp/my.kext/Contents/MacOS/omfs --symfile /tmp/com.omneon.kext.myfs.sym target module load --file /tmp/macosx/my.kext/Contents/MacOS/myfs __TEXT <address displayed in showallkexts> Command works and even image list displays my module with appropriate symbol path. "target dump symtab " displays all global variables correctly. But when I try to execute either "target variable foo" , it gives below error: error: can't find global variable 'foo' Symbols are generated using below command: kextutil -n -arch x86_64 -s /tmp /tmp/myfs.kext -k /Volumes/KernelDebugKit/mach_kernel Kext is built and signed from 10.6.8 machine, does that matter? Do I need to build a binary from 10.9 to debug it successfully? Please let me know if I am doing something wrong here. Thanks, Pratima _______________________________________________ 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: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Pratima Kudale