• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: incomplete kgmacros
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: incomplete kgmacros


  • Subject: Re: incomplete kgmacros
  • From: Terry Lambert <email@hidden>
  • Date: Thu, 15 Nov 2007 18:01:09 -0800

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:

(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.

Where can I get the correct kgmacros file?

You are attempting this cross-architecture, and didn't specify -arch <kernel arch> to gdb.


-- Terry
_______________________________________________
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


References: 
 >incomplete kgmacros (From: Chris Neustrup <email@hidden>)

  • Prev by Date: incomplete kgmacros
  • Next by Date: Re: missing driver function names
  • Previous by thread: incomplete kgmacros
  • Next by thread: task_for_pid() and code signing
  • Index(es):
    • Date
    • Thread