site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com (gdb) source ~/kgmacros Loading Kernel GDB Macros package. Type "help kgm" for more info. /Users/druid/kgmacros:124: Error in sourced command file: No struct type named mach_header. -- Terry _______________________________________________ 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... On Nov 15, 2007, at 5:16 PM, Chris Neustrup wrote: In using gdb, I want to use the appropriate kgmacros file. My kernel is currently 10.4.10, xnu-792.22.6~1. When I start gdb / mach_kernel, I can load symbols for the kernel. When I source the kgmacros, I get the following message: Where can I get the correct kgmacros file? You are attempting this cross-architecture, and didn't specify -arch <kernel arch> to gdb. This email sent to site_archiver@lists.apple.com
participants (1)
-
Terry Lambert