Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Marcel Moolenaar <marcel@xcllnt.net>
To: Mark Kettenis <kettenis@chello.nl>
Cc: gdb-patches@sources.redhat.com, freebsd-hackers@freebsd.org,
	tech-toolchain@netbsd.org
Subject: Re: [PATCH/RFC] *BSD kernel debugging
Date: Mon, 17 May 2004 20:04:00 -0000	[thread overview]
Message-ID: <20040517200417.GA67285@ns1.xcllnt.net> (raw)
In-Reply-To: <200405171132.i4HBW0h5012696@elgar.kettenis.dyndns.org>

On Mon, May 17, 2004 at 01:32:00PM +0200, Mark Kettenis wrote:
> I've recently implemented support for kvm(3)-based debugging that
> works for all three BSD's.  The interface is fairly simple, just start
> GDB on a kernel binary, i.e.

*snip*

> All that's needed is a bit of new code (bsd-kvm.[ch]) and a support
> function in the appropriate *-nat.c file; because it is built on top
> of kvm(3) this is native-only.  I've added a preliminary patch with
> some sample code.
> 
> If there are no objections I'll check this in in a week or so.

I've been working on a different scheme for FreeBSD that supports kernel
threads and kernel modules and also works on non-i386 and non-amd64
systems without any gdb changes (at least, that's the intend -- I'm not
far enough in the development to have a working prototype of all features).
Anyway, it uses the remote protocol to establish an IPC pipe between gdb
and some front-end that knows about the quirks of the kernel and its core
files and isn't an inherently native solution.

I cannot prevent you from committing this, but if it doesn't address
the items mentioned above, it may not be used on FreeBSD.  Unless I'm
being relieved of gdb duties of course :-)

FYI,

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net


  reply	other threads:[~2004-05-17 20:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-17 11:32 Mark Kettenis
2004-05-17 20:04 ` Marcel Moolenaar [this message]
     [not found]   ` <200405172045.i4HKjd4k014106@elgar.kettenis.dyndns.org>
2004-05-17 22:17     ` Marcel Moolenaar
2004-05-18  1:20       ` Kris Kennaway
     [not found] ` <40A9172B.9000300@gnu.org>
2004-05-17 21:05   ` Mark Kettenis

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=20040517200417.GA67285@ns1.xcllnt.net \
    --to=marcel@xcllnt.net \
    --cc=freebsd-hackers@freebsd.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kettenis@chello.nl \
    --cc=tech-toolchain@netbsd.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