• 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: Kernel Debugging Help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kernel Debugging Help


  • Subject: Re: Kernel Debugging Help
  • From: "Brian Bechtel" <email@hidden>
  • Date: Thu, 8 Nov 2007 13:56:27 -0800

On Nov 8, 2007 11:05 AM, billy lau <email@hidden> wrote:
> That is correct. My host machine is of PPC while my target machine is
> of x86. Therefore, are there any extra configurations that I need to
> do, especially with gdb?

gdb -arch i386 /Volumes/KernelDebugKit/mach_kernel
(gdb) source /Volumes/KernelDebugKit/kgmacros

> When I source the kgmacros, gdb gave me an error saying
>
> Error in sourced command file:
> No symbol table is loaded. use the "file" command.

That is probably because you didn't specify the "arch" flag.  For more
information see the gdb release notes in /Developer/Documentation and
"man gdb"
 _______________________________________________
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: 
 >Re: Kernel Debugging Help (From: "billy lau" <email@hidden>)
 >Re: Kernel Debugging Help (From: "billy lau" <email@hidden>)
 >Re: Kernel Debugging Help (From: "Alexander v. Below" <email@hidden>)
 >Re: Kernel Debugging Help (From: "billy lau" <email@hidden>)

  • Prev by Date: Re: Kernel Debugging Help
  • Next by Date: devfs_make_node()
  • Previous by thread: Re: Kernel Debugging Help
  • Next by thread: Re: Leopard Sources?
  • Index(es):
    • Date
    • Thread