I'm writing a kernel file system for Mac OS X 10.4, and would like to be able to compile some breakpoints into it, but when I load the extension, I get the following error:
kld(): Undefined symbols: _PE_enter_debugger [...]
The documentation warns against playing mix and match between KPI collections and kernel subcomponents, so currently I've declared dependancies against all the components I could find which have "kpi" in their name.
<key>OSBundleLibraries</key> <dict> <key>com.apple.kpi.bsd</key> <string>8.0.0b1</string> <key>com.apple.kpi.libkern</key> <string>8.0.0b1</string> <key>com.apple.kpi.mach</key> <string>8.0.0b1</string> <key>com.apple.kpi.unsupported</key> <string>8.0.0b1</string> </dict>
(As far as I know, I don't reference anything in com.apple.kpi.unsupported, and since adding it didn't solve my problem I'll be removing it).
So, is there a KPI collection which contains the PU_enter_debugger symbol?
Along a more general line, how would I determine which kernel component contains a particular symbol?
Thanks,
Ron Aldrich Software Architects, Inc.
|