Subject: Re: 'machine' DDB command
To: matthew green <mrg@eterna.com.au>
From: Jaromír Dolecek <dolecek@ics.muni.cz>
List: tech-kern
Date: 01/19/2001 10:28:03
matthew green wrote:
> how about modloading a routine to dump a bunch of crap you're interested in?

While this is one theoretical usage, it would only be maybe useful during
DDB development. This happens rarely :) Surely rarely enough to not
warrant supporting this.

If you just need to dump some crap, you can do it directly from
the LKM, you don't need to hack DDB to print the value for you, you
can install e.g. a new syscall which does the work you need.
(Ab)Using DDB hooks for things like this seems "wrong".

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>      http://www.ics.muni.cz/~dolecek/
@@@@  Wanna a real operating system ? Go and get NetBSD, dammit!  @@@@