Re: missing driver function names
Re: missing driver function names
- Subject: Re: missing driver function names
- From: Jeremy Pereira <email@hidden>
- Date: Fri, 16 Nov 2007 09:57:14 +0000
On 16 Nov 2007, at 01:11, Chris Neustrup wrote:
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:
#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 ()
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:
kextload the driver
copy the symbols for debugging
kextunload the driver
kextload the driver
debug
the symbol file from the first kextload may not be valid anymore (at
least that is my experience on 10.4).
Chris
_______________________________________________
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
_______________________________________________
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