Date: Mon, 17 May 2004 13:04:17 -0700
From: Marcel Moolenaar <[EMAIL PROTECTED]>
> 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 pa
+void
+_initialize_bsd_kvm (void)
+{
+ bsd_kvm_ops.to_shortname = "kvm";
+ bsd_kvm_ops.to_longname = "Kernel memory interface";
+ bsd_kvm_ops.to_doc = "XXX";
+ bsd_kvm_ops.to_open = bsd_kvm_open;
+ bsd_kvm_ops.to_close = bsd_kvm_close;
+ bsd_kvm_ops.to_fetch_registers = bsd_kvm_fetch_register
On Mon, May 17, 2004 at 03:17:03PM -0700, Marcel Moolenaar wrote:
> On Mon, May 17, 2004 at 10:45:39PM +0200, Mark Kettenis wrote:
> >
> >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
> >bei
On Mon, May 17, 2004 at 10:45:39PM +0200, Mark Kettenis wrote:
>
>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 :-)
>
> Let's see. My kvm stuff would
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])
FreeBSD, NetBSD and OpenBSD all provide the kvm(3) interface for
debugging kernel virtual memory images: kernel crash dumps and live
kernels. All three include support for this interface in the version
of GDB bundled with the OS, but this code was never contributed back.
I've recently implemented
6 matches
Mail list logo