lkml.org 
[lkml]   [2008]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux kernel debugging
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-06-05 08:25    [W:0.222 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site