mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux kernel debugging
       [not found] <e1e39aa7-b9f4-4ad4-9874-87c430d4f53f@i18g2000prn.googlegroups.com>
@ 2008-06-05  6:21 ` Stéphane Charette
  0 siblings, 0 replies; only message in thread
From: Stéphane Charette @ 2008-06-05  6:21 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-05  6:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <e1e39aa7-b9f4-4ad4-9874-87c430d4f53f@i18g2000prn.googlegroups.com>
2008-06-05  6:21 ` linux kernel debugging Stéphane Charette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®