Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Having problems with .gdbinit kernel macros...



At 9:56 -0700 1/6/03, Shawn Erickson wrote:
On Sunday, June 1, 2003, at 01:56 AM, Quinn wrote:
At 13:57 -0700 31/5/03, Shawn Erickson wrote:
Or do I need to have a debug/symboled build of the kernel for them to work?

You need to have kernel symbols for the kernel macros to work. A debug kernel is not required.

So a symboled kernel or just the symbols (what their is in mach.sym)?

AFAIK there are two sources of kernel symbols.

1. If you build the kernel yourself (using the instructions from "IMOSX:Kernel Programming"), the result is a "mach_kernel" file, which you install on the victim machine, and a "mach_kernel.sys" file, which is the kernel symbols which you load into GDB on the build machine using "add-symbol-file".

2. When Apple builds Mac OS X ourselves, we build and archive this file. Currently we do not have a formal process for distributing these symbol files, but we're working on it.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.