Subject: building libkvm in -current
To: None <port-i386@NetBSD.ORG>
From: Pete Bentley <pete@demon.net>
List: port-i386
Date: 03/19/1996 17:00:24
Apologies if this has been covered, but I couldn't see anything in the
pr database or my archives of mailing lists...

Whilst trying to build a -current libkvm (in order to hopefully get a
working savecore) I find it tries to include <machine/kcore.h> to get
the definition of cpu_kcore_hdr_t, the ram_segs component of which is
used in loading crash dumps, too.  However, this header only appears
to exist in the m68k ports (can't find an arch/i386/include/kcore.h
anywhere).

So, is there an i386 version of this file about that I've missed? Or a
suitable structure definition I can snarf from elsewhere in the kernel
for cpu_kcore_hdr_t?  Or is there a simpler way of getting readable
i386 crash dumps than this anyway?

Pete.