Re: Having problems with .gdbinit kernel macros...
Re: Having problems with .gdbinit kernel macros...
- Subject: Re: Having problems with .gdbinit kernel macros...
- From: Garth Cummings <email@hidden>
- Date: Fri, 6 Jun 2003 09:35:21 -0700
Hi Shawn,
On Thursday, June 5, 2003, at 07:35 PM, Shawn Erickson wrote:
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?
It's about 13MB zipped. Too big to email. We're very close (within
days) of implementing option 2.
(slowly convincing myself to get off my a$$ and build my own kernel...)
-Shawn
Thanks,
--gc
_______________________________________________
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.