I have recently heard about the new debugging functionality that has been added to WS6, and I have been trying to get myself up and running remote debugging a linux machine.
However, having read Slava's blog and searched the forum, I am still unsure of one aspect of the setup of remote debugging; specifically kernel symbols. Perhaps my question betrays my lack of understanding or knowledge, but I hope that I am not asking a stupid question, and that others might find the answer helpful.
Basically the question is simple; from where does one obtain the kernel symbols in order to do this, and how exactly are they set up?
I appreciate this may be distro-specific, and the answer might be 'go to your distro's site and find them there somewhere'. I am using Ubuntu, and have used Synaptic to install 'linux-image-debug-2.6.22-14-386' (which matches in version number to the kernel on my 7.10 install) but whether this is the right thing or not I don't know.
Now if I do find the right kernel-with-symbols file that matches the kernel I am running in my virtual Ubuntu installation, do I then have to copy this to the host machine in order to pass to gdb when remote-debugging (as in: "<span style="font-style: italic">(gdb) file vmlinux-2.4.21-27.EL.debug")? </span>Now this may be obvious, but I can't see it mentioned anywhere.
So I am looking for a wee bit more information on how to get this all up and running, and would really appreciate any help that someone might be able to offer.
Cheers, Kev