Re: Attaching to /dev/kmem with gdb
Hi Brian, On Thursday, April 3, 2003, at 09:42 PM, Brian Tabone wrote: Now I know you can't attach directly to a running kernel as you would a program, since halting the kernel would halt you. You can have the running kernel stop to allow an attach from a remote GDB session, then resume the kernel and debug it much as you would an application. Here are a couple of documents you can read that explain this: HelloDebugger <http://www.opensource.apple.com/projects/documentation/howto/html/ kext_tutorials/hello_debugger.html> Inside Mac OS X: Kernel Programming <http://developer.apple.com/techpubs/macosx/Darwin/General/ KernelProgramming/build/chapter_18_section_7.html> Good luck, --gc _______________________________________________ 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)
-
Garth Cummings