Re: Attaching to /dev/kmem with gdb
Re: Attaching to /dev/kmem with gdb
- Subject: Re: Attaching to /dev/kmem with gdb
- From: Sam Vaughan <email@hidden>
- Date: Fri, 4 Apr 2003 14:17:47 +0100
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,
email@hidden 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 | 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.