Re: missing driver function names
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On 16 Nov 2007, at 01:11, Chris Neustrup wrote: #0 0x001a9fb3 in Debugger () #1 0x00128d08 in panic () #2 0x001a4a55 in kernel_trap () #3 0x0019aeb4 in lo_alltraps () #4 0x0012eaad in lck_mtx_sleep_deadline () #5 0x00347413 in uiomove () #6 0x0034788e in msleep () #7 0x8e701669 in ?? () #8 0x8e7018ff in ?? () #9 0x8e6f985a in ?? () #10 0x0038d522 in IOService::startCandidate () #11 0x0038eda1 in IOService::probeCandidates () #12 0x0038e609 in IOService::doServiceMatch () #13 0x0038fd4e in _IOConfigThread::main () kextload the driver copy the symbols for debugging kextunload the driver kextload the driver debug Chris _______________________________________________ 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/adc%40jeremyp.net This email sent to adc@jeremyp.net _______________________________________________ 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... I'm using the 2 machine debugging facility over firewire. I've copied all symbols files to a local dir on my debugger machine. When I ask for the backtrace, I get the following: Notice that the symbols for the kernel are OK. The missing ?? are most likely routines in my driver. It points up that the symbols were not built correctly. The address of my load is 0x8E61E000. What am I missing? The -s <directory> option on your kextload most likely and/or the source command in GDB. If you have done all that then it might be that the symbols you have were not generated by the kextload that loaded the driver for this debug session. i.e. if you: the symbol file from the first kextload may not be valid anymore (at least that is my experience on 10.4). This email sent to site_archiver@lists.apple.com
participants (1)
-
Jeremy Pereira