Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 1997 21:09:09 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-hackers@FreeBSD.ORG
Cc:        pmchen@eecs.umich.edu (Peter M. Chen)
Subject:   Re: question on buffer cache and VMIO
Message-ID:  <19970401210909.DC36612@uriah.heep.sax.de>
In-Reply-To: <199704011439.JAA26225@life.eecs.umich.edu>; from Peter M. Chen on Apr 1, 1997 09:39:42 -0500
References:  <199704011439.JAA26225@life.eecs.umich.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
As Peter M. Chen wrote:

> Questions re: buffer cache and VMIO

While i cannot answer these...

> General kernel questions:

>     1) I'd like the ability to read and write kernel global
> variables (without going to ddb).  I tried kvm, but that only works
> for variables in i386/i386/symbols.raw.

Are you sure about this?  I've got my nose in dset(8) some time ago,
and it really uses kvm for variables that are not listed in
symbols.raw.

>  kgdb only works for
> off-line core dumps.

No.  ``gdb -k /kernel /dev/mem'' debugs your currently running kernel.
Add -w to the commandline, and you'll be allowed to write (unless
you're running on a higher securelevel, but then you're at a loss
anyway).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970401210909.DC36612>