Back in the 2.2.13 kernel days, I would hook up 2 computers via serial
ports and could use ddd/gdb to walk through the kernel on the 2nd
computer.
My old notes tells me I would enabled "Kernel Hacking -> Kernel
support for GDB" when running "make menuconfig", and then add "gdb
gdbttyS=1 gdbbaud=115200" when booting the 2nd computer.
Is this still the way to do it?
I'd like to play around with this again after many years of not having
looked at the kernel internals. One of the things I found tonight
while searching for info on the web is this:
http://kgdb.linsyssoft.com
Is this what it has evolved into, or is this something else? It looks
like a commercial product, which is why I was reluctant to dig further
into it. I guess what I'm asking is: What is the most common method
people use to walk a debugger through the linux kernel?
Thanks,
Stéphane Charette
--