Re: Two machine debugging of Intel code
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Folks, Thanks, Ron Aldrich Software Architects, Inc. _______________________________________________ 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/drk%40apple.com _______________________________________________ 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... Yes--you must launch the debugger with "gdb -arch <target- arch>" (i386 in the first case), and load either architecture- specific or universal images (non-stripped, of course). You should use the latest version of gdb (the one shipped with Xcode 2.2 or newer, I believe) for best results. Also, there's apparently a problem with the Macsbug gdb plugin when connecting to x86 targets, so you should probably skip loading that if you use it. Derek On Feb 9, 2006, at 8:03 PM, Ron Aldrich wrote: One quick question - Using GDB, is it possible to debug kernel code running on an Intel based Macintosh using a PPC based Macintosh (or vice-versa)? This email sent to drk@apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Derek Kumar