Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



On Mon May 04 2009 at 11:50:23 +0000, Andrew Doran wrote:
> On Sun, May 03, 2009 at 04:52:55PM +0000, Antti Kantee wrote:
> 
> > Module Name:        src
> > Committed By:       pooka
> > Date:               Sun May  3 16:52:55 UTC 2009
> > 
> > Modified Files:
> >     src/sys/kern: vfs_subr.c
> >     src/sys/sys: buf.h vnode.h
> >     src/sys/uvm: uvm_ddb.h uvm_map.c
> > 
> > Log Message:
> > Include some debug print routines if DEBUGPRINT is defined.  This
> > way they can be included without having to include DDB.
> > (arguably all print routines should be behind #ifdef DEBUGPRINT
> > and options DDB should define that macro, but I'll tackle that later)
> 
> Can you give me an example of how you're using this stuff?
> I've been moving these into ddb so they also work with crash(8).

in rumps.  Ok, we can make DDB define DEBUGPRINT, but the result would
be the same.  In any case, calling a print dump routine does not in any
way require DDB.

Incidentally, I did some work to make crash(8) use rump instead of provide
its homegrown set of similar solutions, but got sidesidesidetracked.


Home | Main Index | Thread Index | Old Index