Re: Documentation bug (ter): missing instruction
Re: Documentation bug (ter): missing instruction
- Subject: Re: Documentation bug (ter): missing instruction
- From: Terry Lambert <email@hidden>
- Date: Thu, 31 Jul 2008 09:47:47 -0700
On Jul 31, 2008, at 6:35 AM, Stéphane Sudre <email@hidden> wrote:
http://developer.apple.com/DOCUMENTATION/Darwin/Conceptual/KEXTConcept/KEXTConceptDebugger/hello_debugger.html
In the "Creating a Symbol File on the Host Machine" chapter, the
first instructions are:
"To create a symbol file on the host machine, you must have a copy
of the kernel extension on the host machine. The host machine must
have the same architecture as the target machine (for example, two
Intel machines). You must also have the kernel debug kit that
correspondes with the version of Mac OS X installed on the target
machine.
•
Create the symbol file.
sudo kextload -n -k /Volumes/KernelDebugKit/mach_kernel -s /tmp/
syms/ HelloIOKit.kext
Adjust the path to the kernel debug kit and your kernel extension as
appropriate.
[...]
"
This assumes that the /tmp/syms folder exists by default on Mac OS
X. That's not the case:
/tmp/syms/: No such file or directory
When you specify the output file to any command via a command line
argument, the directory components prior to the terminal path
component are assummed to exist in order to permit the creation of the
output file.
-- Terry _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden