mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Stéphane Charette" <stephanecharette@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: linux kernel debugging
Date: Wed, 4 Jun 2008 23:21:45 -0700	[thread overview]
Message-ID: <1e15d0630806042321l4fca3c17m3660ba3da517dbc3@mail.gmail.com> (raw)
In-Reply-To: <e1e39aa7-b9f4-4ad4-9874-87c430d4f53f@i18g2000prn.googlegroups.com>

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

           reply	other threads:[~2008-06-05  6:21 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <e1e39aa7-b9f4-4ad4-9874-87c430d4f53f@i18g2000prn.googlegroups.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1e15d0630806042321l4fca3c17m3660ba3da517dbc3@mail.gmail.com \
    --to=stephanecharette@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®