On Monday, January 6, 2003, at 02:08 PM, Andrew Gallatin wrote: Eric Long writes: [snip] I haven't tried debugging in the kernel before. I found a document called "KernelProgramming.pdf" that provided a lot of instructions, which I've looked at, but it wasn't totally clear on these points. It only talks about remote debugging, but doesn't explicitly say that local debugging is out. If a breakpoint brings the whole kernel to a stop, then it makes sense that debugging would have to be done remotely only. Not entirely. If OSX had a libkvm and gdb support for it, you could at least examine variables locally while the machine is live. This can be very useful. As it is now, you must halt the machine and attach a remote debugger. FWIW, libkvm is present on Mac OS X/Darwin. Don't know if the Darwin gdb is set up to use it though. Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | Men are from Earth. | Women are from Earth. | Deal with it. *--------------------------------------*-------------------------------* _______________________________________________ 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)
-
Justin C. Walker