Re: Having problems with .gdbinit kernel macros...
On Wednesday, June 4, 2003, at 09:07 AM, Quinn wrote: 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. How about informally firing me a copy of the symbols for 10.2.6? Does that count as a 3rd source? (slowly convincing myself to get off my a$$ and build my own kernel...) -Shawn _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Shawn Erickson