Hello Debugger/Goodbye Machine
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Microsoft-Entourage/11.1.0.040913 I'm wondering if anyone has seen the kind of problems I am experiencing debugging my kext with gdb. My two machines are a 15" 1.5GHz G4 PB and a Dual 2Ghz G5 Tower. Both running 10.4.5. Both with the Xcode 2.2.1 dev tools. I'm following the same basic process for debugging as the Hello Debugger example: http://developer.apple.com/documentation/Darwin/Conceptual/KEXTConcept/KEXT ConceptDebugger/hello_debugger.html If I attempt to make the PB the target and the Tower the dev machine, at the point in gdb when I enter "continue" I immediately get a message in the Terminal that says: Program received signal SIGTRAP, Trace/breakpoint trap. 0x00095dec in Debugger () And the PB immediately shut down! Huh? I haven't set any breakpoints nor does my kext have any code to drop into the debugger. Just selecting continue after attaching shouldn't get tangled with my kext as far as I know, so I don't what is dropping into the debugger or causing the machine to shut down. This is pretty much a fresh system on the PB. The only third party extension besides mine installed is Cisco VPN extension. If I go the other direction and make the PB the dev machine and the tower the target, I don't see this happen, but when I try to list any sources all I get is a line number and the path to the source. It's completely useless. I've ensured the sources on both machines are in sync, if that has any bearing. I don't know what gives here. The last time I did kext debugging was under Panther. I didn't have problems like this. Any ideas? Thanks in advance, Eric _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Eric Long