Re: Kernel Debugging Help
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