Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GDB can't access kext code memory



I am trying to fix a panic in our USB kext using only a panic dump, panic.log file.
I followed the instructions in Tech Note tn2063 to load the kexts and symbol tables into GDB on my own machine.
Whenever I try to access memory with GDB, using an "x/i" command for example, the result is 
"Cannot access memory at address xxxx".
GDB seems to use my symbol tables correctly,  because it decodes some addresses from the panic.log
into plausible offsets into my code.  However, every memory access fails.

Does anyone know what I am doing wrong?

(I am debugging with the Panic.log because the crash only occurs when running our device on a dual processor G4)

Please help if you have any ideas.

thanks

Harland Harrison
2wire.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.