Re: Attaching to /dev/kmem with gdb
Hi Brian, Do you have to connect to the kernel on the same machine? It's much easier to mess around inside a kernel if you do it from a remote machine. There are detailed instructions for how to do this towards the end of Apple's Kernel Programming document: <http://developer.apple.com/techpubs/macosx/Darwin/General/ KernelProgramming/build/index.html> Sam On Friday, Apr 4, 2003, at 07:00 Europe/London, darwin-kernel-request@lists.apple.com 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. But, from what I understand you can attach to the running image to examine the memory, without halting that image. Perhaps I am mistaken? _______________________________________________ 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)
-
Sam Vaughan